Share via


OrganizationServiceContextExtensions.ModifyAccess Method (OrganizationServiceContext, EntityReference, Object)

 

Applies To: Dynamics CRM 2015

Replaces the access rights on the target 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 ModifyAccess(
    this OrganizationServiceContext context,
    EntityReference target,
    object principalAccess
)
public:
[ExtensionAttribute]
static void ModifyAccess(
    OrganizationServiceContext^ context,
    EntityReference^ target,
    Object^ principalAccess
)
static member ModifyAccess : 
        context:OrganizationServiceContext *
        target:EntityReference *
        principalAccess:Object -> unit
<ExtensionAttribute>
Public Shared Sub ModifyAccess (
    context As OrganizationServiceContext,
    target As EntityReference,
    principalAccess As Object
)

Parameters

Remarks

This is a method wrapper for the ModifyAccessRequest and ModifyAccessResponse 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