Jaa


OrganizationServiceContextExtensions.GrantAccess Method (OrganizationServiceContext, EntityReference, Object)

 

Applies To: Dynamics CRM 2015

Grants a security principal (user or team) access to the specified record. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void GrantAccess(
    this OrganizationServiceContext context,
    EntityReference target,
    object principalAccess
)
public:
[ExtensionAttribute]
static void GrantAccess(
    OrganizationServiceContext^ context,
    EntityReference^ target,
    Object^ principalAccess
)
static member GrantAccess : 
        context:OrganizationServiceContext *
        target:EntityReference *
        principalAccess:Object -> unit
<ExtensionAttribute>
Public Shared Sub GrantAccess (
    context As OrganizationServiceContext,
    target As EntityReference,
    principalAccess As Object
)

Parameters

Remarks

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