OrganizationServiceContextExtensions.RemovePrivilegeRole Method (OrganizationServiceContext, Guid, Guid)
Applies To: Dynamics CRM 2013
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
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- roleId
Type: System.Guid
- privilegeId
Type: System.Guid
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 2013
Return to top