Dela via


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

 

Applies To: Dynamics CRM 2013

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)

Syntax

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

Parameters

Return Value

Type: TResult

Returns EntityCollection.

Type Parameters

  • TResult

Remarks

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 2013

Return to top