OrganizationServiceContextExtensions.RetrieveRolePrivilegesRole<TResult> Method (OrganizationServiceContext, Guid)


Applies To: Dynamics CRM 2015

Retrieves the privileges that are assigned to the specified role. (Developer Extensions)

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


public static TResult RetrieveRolePrivilegesRole<TResult>(
    this OrganizationServiceContext context,
    Guid roleId
generic<typename TResult>
static TResult RetrieveRolePrivilegesRole(
    OrganizationServiceContext^ context,
    Guid roleId
static member RetrieveRolePrivilegesRole<'TResult> : 
        context:OrganizationServiceContext *
        roleId:Guid -> 'TResult
Public Shared Function RetrieveRolePrivilegesRole(Of TResult) (
    context As OrganizationServiceContext,
    roleId As Guid
) As TResult


Return Value

Type: TResult

Returns EntityCollection.

Type Parameters

  • TResult


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