RolePrivilege Constructor (PrivilegeDepth, Guid, Guid)
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)
Syntax
public RolePrivilege(
PrivilegeDepth depth,
Guid privilegeId,
Guid businessId
)
Public Sub New (
depth As PrivilegeDepth,
privilegeId As Guid,
businessId As Guid
)
Parameters
depth
Type: Microsoft.Crm.Sdk.Messages.PrivilegeDepthType: PrivilegeDepth. The depth of the privilege.
privilegeId
Type: System.GuidType: Guid. The ID of the privilege.
businessId
Type: System.GuidType: Guid. The ID of the business unit.
See Also
RolePrivilege Overload
RolePrivilege Class
Microsoft.Crm.Sdk.Messages Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright