web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Free Utility: Locate User and Privilege Information

Mitch Milam Profile Picture Mitch Milam

I was modifying some security roles this afternoon and accidentally broke part of CRM.  When a user with restricted privileges opened the Opportunity, they received the following error:

ServerServer was unable to process request. 0×80040220 SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: f861d37a-1629-de11-af14-00155d878002 and PrivilegeId: eeeb5856-3f80-4886-8ae2-456ad9141244 Platform

That got me to wondering how to retrieve the name of a specific privilege given the ID.  That led me to this thread on the Microsoft Dynamics CRM forums where my friend and fellow CRM MVP Scott Sewell posted the following SQL script to make that determination:

select Name,  * from PrivilegeBase where PrivilegeId = 'a8ecac53-09e8-4a13-b598-8d8c87bc3d33'

That worked perfectly.  But then I started considering, “What if I don’t have access to SQL Management Studio?”  Which led me to write this little utility to locate the information for me:

image

How it works

The utility, called Find Privilege, will locate and return either a CRM User’s name and/or the name of a privilege given a valid ID.

Just fill out the appropriate ID text box and press the Retrieve button. The results appear in the Results text box.


This was originally posted here.

Comments

*This post is locked for comments