OrganizationServiceContextExtensions.RevokeAccess Method (OrganizationServiceContext, EntityReference, EntityReference)
Applies To: Dynamics CRM 2013
Removes all access to a record for the specified security principal (user or team). (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void RevokeAccess(
this OrganizationServiceContext context,
EntityReference target,
EntityReference revokee
)
public:
[ExtensionAttribute]
static void RevokeAccess(
OrganizationServiceContext^ context,
EntityReference^ target,
EntityReference^ revokee
)
static member RevokeAccess :
context:OrganizationServiceContext *
target:EntityReference *
revokee:EntityReference -> unit
<ExtensionAttribute>
Public Shared Sub RevokeAccess (
context As OrganizationServiceContext,
target As EntityReference,
revokee As EntityReference
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- target
Type: Microsoft.Xrm.Sdk.EntityReference
- revokee
Type: Microsoft.Xrm.Sdk.EntityReference
Remarks
This is a method wrapper for the RevokeAccessRequest and RevokeAccessResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top