AttributePrivilege Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies the field level security privileges allowed for an attribute.

For the Web API the corresponding type is AttributePrivilege ComplexType.

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

System.Object
  Microsoft.Xrm.Sdk.AttributePrivilege

<SerializableAttribute>
<DataContractAttribute(Name := "AttributePrivilege", Namespace := "http://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class AttributePrivilege
	Implements IExtensibleDataObject

NameDescription
System_CAPS_pubmethodAttributePrivilege()

Initializes a new instance of theAttributePrivilege class.

System_CAPS_pubmethodAttributePrivilege(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.

NameDescription
System_CAPS_pubpropertyAttributeId

Gets the ID of the attribute.

System_CAPS_pubpropertyCanCreate

Gets whether create of the attribute value is allowed.

System_CAPS_pubpropertyCanRead

Gets whether read of the attribute value is allowed.

System_CAPS_pubpropertyCanUpdate

Gets whether update of the attribute value is allowed.

System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

Show: