RolePrivilege Constructor (PrivilegeDepth, Guid, Guid)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of the RolePrivilege class by setting the depth, privilege ID, and business unit ID.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

public RolePrivilege(
	PrivilegeDepth depth,
	Guid privilegeId,
	Guid businessId
)

Parameters

depth
Type: Microsoft.Crm.Sdk.Messages.PrivilegeDepth

Type: PrivilegeDepth. The depth of the privilege.

privilegeId
Type: System.Guid

Type: Guid. The ID of the privilege.

businessId
Type: System.Guid

Type: Guid. The ID of the business unit.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: