AttributePrivilege Constructor (Guid, Int32, Int32, Int32)

 

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 AttributePrivilege class setting the attribute Id, and whether it is valid to create, read and update the attribute value.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public AttributePrivilege(
	Guid attributeId,
	int canCreate,
	int canRead,
	int canUpdate
)

Parameters

attributeId
Type: System.Guid

Type: Guid. The attribute ID.

canCreate
Type: System.Int32

Type: Int32. Whether the attribute value can be specified on create.

canRead
Type: System.Int32

Type: Int32. Whether the attribute value can be read.

canUpdate
Type: System.Int32

Type: Int32. Whether the attribute value can be updated.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: