Partager via


OrganizationServiceContextExtensions.RetrievePrincipalAccess<TResult> Method (OrganizationServiceContext, EntityReference, EntityReference)

 

Applies To: Dynamics CRM 2015

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

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

Syntax

public static TResult RetrievePrincipalAccess<TResult>(
    this OrganizationServiceContext context,
    EntityReference target,
    EntityReference principal
)
public:
generic<typename TResult>
[ExtensionAttribute]
static TResult RetrievePrincipalAccess(
    OrganizationServiceContext^ context,
    EntityReference^ target,
    EntityReference^ principal
)
static member RetrievePrincipalAccess<'TResult> : 
        context:OrganizationServiceContext *
        target:EntityReference *
        principal:EntityReference -> 'TResult
<ExtensionAttribute>
Public Shared Function RetrievePrincipalAccess(Of TResult) (
    context As OrganizationServiceContext,
    target As EntityReference,
    principal As EntityReference
) As TResult

Parameters

Return Value

Type: TResult

Returns String.

Type Parameters

  • TResult

Remarks

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