Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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. 
See Also
AttributePrivilege Overload
AttributePrivilege Class
Microsoft.Xrm.Sdk Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright