private bool RevokeAccessToEntity(ICrmService service, Guid guidValue, Guid entityID, string EntityName) { bool isSuccess = false; // Create the SecurityPrincipal object. SecurityPrincipal principal = new SecurityPrincipal(); // PrincipalId is the GUID of the team whose access is being revoked. principal.Type = SecurityPrincipalType.Team; principal.PrincipalId = guidValue; // Create the target for the request. TargetOwnedDynamic target = new [...]
Posts Tagged ‘Revoke Access’
Revoke Access To Entity
Posted: July 28, 2010 in Microsoft .NET, Microsoft Dynamics CRMTags: CRM, Revoke Access, Sharing
0

