Share via


OrganizationServiceContextExtensions.RevokeAccess Method (OrganizationServiceContext, EntityReference, EntityReference)

 

Applies To: Dynamics CRM 2015

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

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 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright