We were previously using an unsupported dll (Microsoft.Crm.Application.Components.Core
) to check if the current user in Dynamics has read privileges on a specific entity:
Microsoft.Crm.Security.User.HasPrivilege(Microsoft.Crm.Security.User.Current,
"myentityname, AccessRights.ReadAccess);
I need to do the same thing using only the supported SDK (and the CrmService).
Can someone advise on how to accomplish this using the SDK?