Поділитися через


AttributePrivilege Class

Definition

Specifies the field level security privileges allowed for an attribute.

For the Web API the corresponding type is AttributePrivilege ComplexType.

public ref class AttributePrivilege sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="AttributePrivilege", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
[System.Serializable]
public sealed class AttributePrivilege : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="AttributePrivilege", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
[<System.Serializable>]
type AttributePrivilege = class
    interface IExtensibleDataObject
Public NotInheritable Class AttributePrivilege
Implements IExtensibleDataObject
Inheritance
AttributePrivilege
Attributes
Implements

Constructors

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)

Properties

AttributeId

Gets the ID of the attribute.

CanCreate

Gets whether create of the attribute value is allowed.

CanRead

Gets whether read of the attribute value is allowed.

CanReadUnMasked
CanUpdate

Gets whether update of the attribute value is allowed.

ExtensionData

Gets or sets the structure that contains extra data.

Applies to

See also