Partager via


RolePrivilege Constructors

Definition

Overloads

RolePrivilege()

Initializes a new instance of the RolePrivilege class.

RolePrivilege(Int32, Guid)

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

RolePrivilege(PrivilegeDepth, Guid, Guid)

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

RolePrivilege(Int32, Guid, Guid)

Initializes a new instance of the RolePrivilege class by setting the depth (as an integer), the privilege ID, and the business unit ID.

RolePrivilege(PrivilegeDepth, Guid, Guid, String)
RolePrivilege(Int32, Guid, Guid, String)
RolePrivilege(PrivilegeDepth, Guid, Guid, String, Guid)
RolePrivilege(Int32, Guid, Guid, String, Guid)
RolePrivilege(PrivilegeDepth, Guid, Guid, String, Guid, String)

RolePrivilege()

Initializes a new instance of the RolePrivilege class.

public:
 RolePrivilege();
public RolePrivilege ();
Public Sub New ()

Applies to

RolePrivilege(Int32, Guid)

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

public:
 RolePrivilege(int depth, Guid privilegeId);
public RolePrivilege (int depth, Guid privilegeId);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : int * Guid -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As Integer, privilegeId As Guid)

Parameters

depth
Int32

The depth of the privilege.

privilegeId
Guid

The ID of the privilege.

Applies to

RolePrivilege(PrivilegeDepth, Guid, Guid)

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

public:
 RolePrivilege(Microsoft::Crm::Sdk::Messages::PrivilegeDepth depth, Guid privilegeId, Guid businessId);
public RolePrivilege (Microsoft.Crm.Sdk.Messages.PrivilegeDepth depth, Guid privilegeId, Guid businessId);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : Microsoft.Crm.Sdk.Messages.PrivilegeDepth * Guid * Guid -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As PrivilegeDepth, privilegeId As Guid, businessId As Guid)

Parameters

depth
PrivilegeDepth

The depth of the privilege.

privilegeId
Guid

The ID of the privilege.

businessId
Guid

The ID of the business unit.

Applies to

RolePrivilege(Int32, Guid, Guid)

Initializes a new instance of the RolePrivilege class by setting the depth (as an integer), the privilege ID, and the business unit ID.

public:
 RolePrivilege(int depth, Guid privilegeId, Guid businessId);
public RolePrivilege (int depth, Guid privilegeId, Guid businessId);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : int * Guid * Guid -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As Integer, privilegeId As Guid, businessId As Guid)

Parameters

depth
Int32

The depth of the privilege.

privilegeId
Guid

The ID of the privilege.

businessId
Guid

The ID of the business unit.

Applies to

RolePrivilege(PrivilegeDepth, Guid, Guid, String)

public:
 RolePrivilege(Microsoft::Crm::Sdk::Messages::PrivilegeDepth depth, Guid privilegeId, Guid businessId, System::String ^ privilegeName);
public RolePrivilege (Microsoft.Crm.Sdk.Messages.PrivilegeDepth depth, Guid privilegeId, Guid businessId, string privilegeName);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : Microsoft.Crm.Sdk.Messages.PrivilegeDepth * Guid * Guid * string -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As PrivilegeDepth, privilegeId As Guid, businessId As Guid, privilegeName As String)

Parameters

privilegeId
Guid
businessId
Guid
privilegeName
String

Applies to

RolePrivilege(Int32, Guid, Guid, String)

public:
 RolePrivilege(int depth, Guid privilegeId, Guid businessId, System::String ^ privilegeName);
public RolePrivilege (int depth, Guid privilegeId, Guid businessId, string privilegeName);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : int * Guid * Guid * string -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As Integer, privilegeId As Guid, businessId As Guid, privilegeName As String)

Parameters

depth
Int32
privilegeId
Guid
businessId
Guid
privilegeName
String

Applies to

RolePrivilege(PrivilegeDepth, Guid, Guid, String, Guid)

public RolePrivilege (Microsoft.Crm.Sdk.Messages.PrivilegeDepth depth, Guid privilegeId, Guid businessId, string privilegeName, Guid recordFilterId);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : Microsoft.Crm.Sdk.Messages.PrivilegeDepth * Guid * Guid * string * Guid -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As PrivilegeDepth, privilegeId As Guid, businessId As Guid, privilegeName As String, recordFilterId As Guid)

Parameters

privilegeId
Guid
businessId
Guid
privilegeName
String
recordFilterId
Guid

Applies to

RolePrivilege(Int32, Guid, Guid, String, Guid)

public RolePrivilege (int depth, Guid privilegeId, Guid businessId, string privilegeName, Guid recordFilterId);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : int * Guid * Guid * string * Guid -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As Integer, privilegeId As Guid, businessId As Guid, privilegeName As String, recordFilterId As Guid)

Parameters

depth
Int32
privilegeId
Guid
businessId
Guid
privilegeName
String
recordFilterId
Guid

Applies to

RolePrivilege(PrivilegeDepth, Guid, Guid, String, Guid, String)

public RolePrivilege (Microsoft.Crm.Sdk.Messages.PrivilegeDepth depth, Guid privilegeId, Guid businessId, string privilegeName, Guid recordFilterId, string recordFilterUniqueName);
new Microsoft.Crm.Sdk.Messages.RolePrivilege : Microsoft.Crm.Sdk.Messages.PrivilegeDepth * Guid * Guid * string * Guid * string -> Microsoft.Crm.Sdk.Messages.RolePrivilege
Public Sub New (depth As PrivilegeDepth, privilegeId As Guid, businessId As Guid, privilegeName As String, recordFilterId As Guid, recordFilterUniqueName As String)

Parameters

privilegeId
Guid
businessId
Guid
privilegeName
String
recordFilterId
Guid
recordFilterUniqueName
String

Applies to