Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Control access to Case(incident) in MSCRM 2015

Posted on by 3,155 Moderator

Hi,

We came across the scenario where we need to control the access to the Case records based on value selected in the field.

There are 2 users U1 and U2 under the Business Units B1 and B2 respectively. Both the users having Organization level full access on Contact and Account entities and Business Unit level full access on Case entity.

User U1 created a Case C1 for the Customer A1 and User U2 created a Case for the Customer A2. We got a requirement, where users U1 & U2 should be having access to C2 & C1 respectively. But, since both of them having read access to A1 & A2, they can still access the Cases C1 & C2 (which are created for the Customers A1 & A2).

So, is there any way to control the access to the Cases irrespective of the access to Customers (Account & Contact)?

It would resolve the issue if there is any workaround to control access based on the field value selected as we have Category field on Case.

Appreciate if any solution for this.

Thanks,

Categories:
  • Suggested answer
    RE: Control access to Case(incident) in MSCRM 2015

    provide  local privilege to users  on case entity to control access.This access level gives a user access to records in the user's business unit.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Control access to Case(incident) in MSCRM 2015

    Great!! If you found my answer helpful, please mark it as verified.

  • Charan Raju C R Profile Picture
    Charan Raju C R 3,155 Moderator on at
    RE: Control access to Case(incident) in MSCRM 2015

    Thanks. It worked fine after registering a plugin on Retrieve Multiple of Case and by modifying the query based on the user.

  • Charan Raju C R Profile Picture
    Charan Raju C R 3,155 Moderator on at
    RE: Control access to Case(incident) in MSCRM 2015

    Hi Vikas,

    Thanks for your reply. It may cause the performance issue. Still I will consider this solution. May I know how can we show/hide(control) the records in Retrieve Multiple plugin? I mean if record should not be accessible by the logged in user, how can we handle this by plugin?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Control access to Case(incident) in MSCRM 2015

    You can register a plugin on retrieve multiple and check the condition and users.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans