privilege EntityType
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/v9.0/privileges
- Base Type
- crmbaseentity
- Display Name
- Privilege
- Primary Key
- privilegeid
- Primary Key Attribute
- name
- Operations Supported
- GET
Properties
Properties represent fields of data stored in the entity.Some properties are read-only.
| Name | Type | Details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| accessright | Edm.Int32 |
Rights a user has to an instance of an entity. |
||||||||||
| canbebasic | Edm.Boolean |
Information that specifies whether the privilege applies to the user, the user's team, or objects shared by the user.
Default Options
|
||||||||||
| canbedeep | Edm.Boolean |
Information that specifies whether the privilege applies to child business units of the business unit associated with the user.
Default Options
|
||||||||||
| canbeentityreference | Edm.Boolean |
Information that specifies whether the privilege applies to the local reference of an external party.
Default Options
|
||||||||||
| canbeglobal | Edm.Boolean |
Information that specifies whether the privilege applies to the entire organization.
Default Options
|
||||||||||
| canbelocal | Edm.Boolean |
Information that specifies whether the privilege applies to the user's business unit.
Default Options
|
||||||||||
| canbeparententityreference | Edm.Boolean |
Information that specifies whether the privilege applies to parent reference of the external party.
Default Options
|
||||||||||
| componentstate | Edm.Int32 |
For internal use only. Display Name: Component State Read Only
Default Options
|
||||||||||
| introducedversion | Edm.String |
Version in which the component is introduced. Display Name: Introduced Version |
||||||||||
| ismanaged | Edm.Boolean |
Information that specifies whether this component is managed. Display Name: State Read Only
Default Options
|
||||||||||
| name | Edm.String |
Name of the privilege. |
||||||||||
| overwritetime | Edm.DateTimeOffset |
For internal use only. Display Name: Record Overwrite Time Read Only
|
||||||||||
| privilegeid | Edm.Guid |
Unique identifier of the privilege. |
||||||||||
| privilegerowid | Edm.Guid |
Unique identifier of the Privilege used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook Display Name: App Module Unique Id |
||||||||||
| solutionid | Edm.Guid |
Unique identifier of the associated solution. Display Name: Solution Read Only
|
||||||||||
| versionnumber | Edm.Int64 |
Read Only
|
Single-valued navigation properties
Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.
| Name | Type | Partner |
|---|---|---|
| solution_privilege | solution | solution_privilege |
Collection-valued navigation properties
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 | asyncoperation | regardingobjectid_privilege |
| Privilege_BulkDeleteFailures | bulkdeletefailure | regardingobjectid_privilege |
| roleprivileges_association | role | roleprivileges_association |
| roletemplateprivileges_association | roletemplate | roletemplateprivileges_association |
Operations
The following operations can be used with the privilege entity type.
| Name | Binding |
|---|---|
| RetrievePrivilegeSet | Collection |