Dynamics CRM: Entity Security

Santosh BhagatDyn365CE6 years ago8 Views

In CRM as a developer we sometime need to see permission
given to any entity in each security role.
But in Dynamics CRM/365 there is no provision to see this in
single glance. We need to open each security role to check permission for any
entity.

Case Study:
Developer X is working in an organization as support
engineer. He was not part of implementation team.
Now an issue in raised by users they can update notes of
other users. Now X must check permission of user for note entity.
He checks security role of user1 not found:
User have assigned 15 security roles.
User have assigned 13 teams.
He goes to security roles and found there are 150 security
roles are present in their organization.
He need to check all 150 security roles to verify permission
given in note entity.

Solution: –
To tackle this case study, I have created a XrmToolBox Plugin
which help Developer X.
1. User can see permission given to entity in each
security role.
2. User can check team and user list based on
selected security role for any business unit.
3. User able to see all security roles.

Download XRMToolBox from given URL and install.


xrmtoolbox

Install EntitySecurityRole Plugin in your XRMTollBox using plugin
store.

If you are not able to find EntitySecurityRole.
Go to given Link :  Download Plugin
And download plugin from here. Install in XRMToolBox by
clicking Settings->Path->Storage folder->Plugin folder.

Copy assembly in Plugin folder.

























































































Connect your organization and open plugin Entity Security
Role





















































Click on “Retrieve Entities” and select your Entity.

Now you will see list of all security roles in security role
list and Permission given to selected entity in each security role.

Now if you want to list of team and user based for any
security role.

Select your business unit and then select required security role.
And now you will able to see all team and user have for selected security role based
on your selected business unit.

You can also export security role result in excel.

















































Now Developer X will easily able to find in which security
role permission need to change.
Note: – Plugin
based on .net framework 4.5.2
Follow my blog so you will not miss my new upcoming blogs.

Original Post https://dotnetdeveloper2012.blogspot.com/2018/04/dynamics-crm-entity-security.html

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
March 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       
« Feb   Apr »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...