Earlier, we used unsupported dll ( Microsoft.Crm.Application.Components.Core) to check if the current user in Dynamics has read permissions for a specific object:
Microsoft.Crm.Security.User.HasPrivilege(Microsoft.Crm.Security.User.Current,
"myentityname, AccessRights.ReadAccess);
I need to do the same using only the supported SDK (and CrmService).
Can anyone advise how to do this using the SDK?
source
share