Daily Archives: December 7, 2015

Dynamics CRM Developer Tip O’ the Day: Does the user have a security role?

Occasionally, when working with .NET and the Dynamics CRM SDK, you’ll find a need to see if the current user has a particular security role. This is helpful before performing any operation that may result in a security exception. Here is a small method to handle that call: public bool UserHasSecurityRole(OrganizationService service, string securityRoleName) { […]

Continue reading