Поделиться через


OrganizationServiceContextExtensions.RetrievePrincipalAttributePrivileges Method (OrganizationServiceContext, EntityReference)

 

Applies To: Dynamics CRM 2015

Retrieves all the secured attribute privileges a user or team has through direct or indirect (through team membership) associations with the FieldSecurityProfile entity. (Developer Extensions)

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

Syntax

public static AttributePrivilegeCollection RetrievePrincipalAttributePrivileges(
    this OrganizationServiceContext context,
    EntityReference principal
)
public:
[ExtensionAttribute]
static AttributePrivilegeCollection^ RetrievePrincipalAttributePrivileges(
    OrganizationServiceContext^ context,
    EntityReference^ principal
)
static member RetrievePrincipalAttributePrivileges : 
        context:OrganizationServiceContext *
        principal:EntityReference -> AttributePrivilegeCollection
<ExtensionAttribute>
Public Shared Function RetrievePrincipalAttributePrivileges (
    context As OrganizationServiceContext,
    principal As EntityReference
) As AttributePrivilegeCollection

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.AttributePrivilegeCollection

Returns AttributePrivilegeCollection.

Remarks

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