Jaa


AttributePrivilege Constructor (Guid, Int32, Int32, Int32)

 

Applies To: Dynamics CRM 2015

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)

Syntax

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

Parameters

  • canCreate
    Type: System.Int32

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

  • canUpdate
    Type: System.Int32

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

See Also

AttributePrivilege Overload
AttributePrivilege Class
Microsoft.Xrm.Sdk Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright