Share via


AttributePrivilege Constructors

Definition

Overloads

AttributePrivilege()

Initializes a new instance of the AttributePrivilege class.

AttributePrivilege(Guid, Int32, Int32, Int32)

Initializes a new instance of the AttributePrivilege class setting the attribute Id, and whether it is valid to create, read and update the attribute value.

AttributePrivilege(Guid, Int32, Int32, Int32, Int32)

AttributePrivilege()

Initializes a new instance of the AttributePrivilege class.

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

Applies to

AttributePrivilege(Guid, Int32, Int32, Int32)

Initializes a new instance of the AttributePrivilege class setting the attribute Id, and whether it is valid to create, read and update the attribute value.

public:
 AttributePrivilege(Guid attributeId, int canCreate, int canRead, int canUpdate);
public AttributePrivilege (Guid attributeId, int canCreate, int canRead, int canUpdate);
new Microsoft.Xrm.Sdk.AttributePrivilege : Guid * int * int * int -> Microsoft.Xrm.Sdk.AttributePrivilege
Public Sub New (attributeId As Guid, canCreate As Integer, canRead As Integer, canUpdate As Integer)

Parameters

attributeId
Guid

The attribute ID.

canCreate
Int32

Whether the attribute value can be specified on create.

canRead
Int32

Whether the attribute value can be read.

canUpdate
Int32

Whether the attribute value can be updated.

Applies to

AttributePrivilege(Guid, Int32, Int32, Int32, Int32)

public AttributePrivilege (Guid attributeId, int canCreate, int canRead, int canUpdate, int canReadUnMasked);
new Microsoft.Xrm.Sdk.AttributePrivilege : Guid * int * int * int * int -> Microsoft.Xrm.Sdk.AttributePrivilege
Public Sub New (attributeId As Guid, canCreate As Integer, canRead As Integer, canUpdate As Integer, canReadUnMasked As Integer)

Parameters

attributeId
Guid
canCreate
Int32
canRead
Int32
canUpdate
Int32
canReadUnMasked
Int32

Applies to