Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 13977

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

$
0
0
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) { […]

Viewing all articles
Browse latest Browse all 13977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>