Jaa


OrganizationServiceContextExtensions.RemovePrivilegeRole Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2015

Removes a privilege from an existing role. (Developer Extensions)

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

Syntax

public static void RemovePrivilegeRole(
    this OrganizationServiceContext context,
    Guid roleId,
    Guid privilegeId
)
public:
[ExtensionAttribute]
static void RemovePrivilegeRole(
    OrganizationServiceContext^ context,
    Guid roleId,
    Guid privilegeId
)
static member RemovePrivilegeRole : 
        context:OrganizationServiceContext *
        roleId:Guid *
        privilegeId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub RemovePrivilegeRole (
    context As OrganizationServiceContext,
    roleId As Guid,
    privilegeId As Guid
)

Parameters

Remarks

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