Share via


RolePrivilege Constructor (PrivilegeDepth, Guid, Guid)

Applies To: Microsoft Dynamics CRM 2013, Microsoft 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

'Declaration
Public Sub New ( _
    depth As PrivilegeDepth, _
    privilegeId As Guid, _
    businessId As Guid _
)
public RolePrivilege (
    PrivilegeDepth depth,
    Guid privilegeId,
    Guid businessId
)

Parameters

  • privilegeId
    Type: Guid. The ID of the privilege.
  • businessId
    Type: Guid. The ID of the business unit.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

RolePrivilege Class
RolePrivilege Members
Microsoft.Crm.Sdk.Messages Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.