privilege EntityType
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Description: Permission to perform an action in Microsoft CRM. The platform checks for the privilege and rejects the attempt if the user does not hold the privilege.
Entity Set path:[organization URI]/api/data/v8.2/privileges
Base Type: crmbaseentity EntityType
Display Name: Privilege
Primary Key: privilegeid
Primary Name Attribute: name
Collection-valued navigation properties
Operations using the privilege entity type.
The privilege entity type has no lookup properties.
The privilege entity type has no single-valued navigation properties.
Properties represent fields of data stored in the entity. Some properties are read-only.
Name | Type | Details |
|---|---|---|
accessright | Edm.Int32 | Description: Rights a user has to an instance of an entity. |
canbebasic | Edm.Boolean | Description: Information that specifies whether the privilege applies to the user, the user's team, or objects shared by the user. Default Options: 1 : Yes |
canbedeep | Edm.Boolean | Description: Information that specifies whether the privilege applies to child business units of the business unit associated with the user. Default Options: 1 : Yes |
canbeentityreference | Edm.Boolean | Description: Information that specifies whether the privilege applies to the local reference of an external party. Default Options: 1 : Yes |
canbeglobal | Edm.Boolean | Description: Information that specifies whether the privilege applies to the entire organization. Default Options: 1 : Yes |
canbelocal | Edm.Boolean | Description: Information that specifies whether the privilege applies to the user's business unit. Default Options: 1 : Yes |
canbeparententityreference | Edm.Boolean | Description: Information that specifies whether the privilege applies to parent reference of the external party. Default Options: 1 : Yes |
name | Edm.String | Description: Name of the privilege. |
privilegeid | Edm.Guid | Description: Unique identifier of the privilege. |
versionnumber | Edm.Int64 | Description: Read-only property |
Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.
Name | Type | Partner |
|---|---|---|
Privilege_AsyncOperations | regardingobjectid_privilege | |
Privilege_BulkDeleteFailures | regardingobjectid_privilege | |
roleprivileges_association | roleprivileges_association | |
roletemplateprivileges_association | roletemplateprivileges_association |
The following operations are bound to the privilege entity type.
Name | Bound to |
|---|---|
Collection |
The following operations use the privilege entity type in a parameter or return type.
Name | How used | Description |
|---|---|---|
Privilege Parameter | Removes a privilege from an existing role. | |
entityset Parameter | Retrieves the set of privileges defined in the system. | |
ReturnType | Retrieves the set of privileges defined in the system. |
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright