title | description | ms.date | ms.topic | ms.assetid | author | ms.author | search.audienceType | |
---|---|---|---|---|---|---|---|---|
Privilege entity reference (Dynamics 365 Customer Engagement) | Microsoft Docs |
Includes schema information and supported messages for the Privilege entity. |
08/30/2022 |
reference |
3948cc48-07c8-7f60-0608-71c37158ad7c |
KumarVivek |
matp |
|
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.
Message | SDK class or method |
---|---|
Retrieve | xref:Microsoft.Xrm.Sdk.Messages.RetrieveRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.Retrieve* |
RetrieveMultiple | xref:Microsoft.Xrm.Sdk.Messages.RetrieveMultipleRequest or xref:Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple* |
Property | Value |
---|---|
CollectionSchemaName | Privileges |
DisplayCollectionName | Privileges |
DisplayName | Privilege |
EntitySetName | privileges |
IsBPFEntity | False |
LogicalCollectionName | privileges |
LogicalName | privilege |
OwnershipType | None |
PrimaryIdAttribute | privilegeid |
PrimaryNameAttribute | name |
SchemaName | Privilege |
These attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.
- AccessRight
- CanBeBasic
- CanBeDeep
- CanBeEntityReference
- CanBeGlobal
- CanBeLocal
- CanBeParentEntityReference
- IntroducedVersion
- Name
- PrivilegeId
- PrivilegeRowId
Property | Value |
---|---|
Description | Rights a user has to an instance of an entity. |
DisplayName | |
Format | None |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | accessright |
MaxValue | 2147483647 |
MinValue | -2147483648 |
RequiredLevel | None |
Type | Integer |
Property | Value |
---|---|
Description | Information that specifies whether the privilege applies to the user, the user's team, or objects shared by the user. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbebasic |
RequiredLevel | None |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether the privilege applies to child business units of the business unit associated with the user. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbedeep |
RequiredLevel | None |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether the privilege applies to the local reference of an external party. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbeentityreference |
RequiredLevel | None |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether the privilege applies to the entire organization. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbeglobal |
RequiredLevel | None |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether the privilege applies to the user's business unit. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbelocal |
RequiredLevel | None |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether the privilege applies to parent reference of the external party. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | canbeparententityreference |
RequiredLevel | None |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Version in which the component is introduced. |
DisplayName | Introduced Version |
FormatName | VersionNumber |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | introducedversion |
MaxLength | 48 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Name of the privilege. |
DisplayName | |
FormatName | Text |
IsLocalizable | False |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | name |
MaxLength | 100 |
RequiredLevel | None |
Type | String |
Property | Value |
---|---|
Description | Unique identifier of the privilege. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | privilegeid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
Property | Value |
---|---|
Description | Unique identifier of the Privilege used when synchronizing customizations for the Microsoft Dynamics CRM client for Outlook |
DisplayName | App Module Unique Id |
IsValidForForm | False |
IsValidForRead | True |
IsValidForUpdate | False |
LogicalName | privilegerowid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
These attributes return false for both IsValidForCreate or IsValidForUpdate. Listed by SchemaName.
- ComponentState
- IsDisabledWhenIntegrated
- IsManaged
- OverwriteTime
- SolutionId
- SupportingSolutionId
- VersionNumber
Property | Value |
---|---|
Description | For internal use only. |
DisplayName | Component State |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | componentstate |
RequiredLevel | SystemRequired |
Type | Picklist |
Value | Label | Description |
---|---|---|
0 | Published | |
1 | Unpublished | |
2 | Deleted | |
3 | Deleted Unpublished |
Property | Value |
---|---|
Description | Specifies whether the privilege is disabled. |
DisplayName | |
IsValidForForm | False |
IsValidForRead | False |
LogicalName | isdisabledwhenintegrated |
RequiredLevel | SystemRequired |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Yes | |
0 | No |
DefaultValue: 0
Property | Value |
---|---|
Description | Information that specifies whether this component is managed. |
DisplayName | State |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | ismanaged |
RequiredLevel | SystemRequired |
Type | Boolean |
Value | Label | Description |
---|---|---|
1 | Managed | |
0 | Unmanaged |
DefaultValue: 0
Property | Value |
---|---|
DateTimeBehavior | UserLocal |
Description | For internal use only. |
DisplayName | Record Overwrite Time |
Format | DateOnly |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | overwritetime |
RequiredLevel | SystemRequired |
Type | DateTime |
Property | Value |
---|---|
Description | Unique identifier of the associated solution. |
DisplayName | Solution |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | solutionid |
RequiredLevel | SystemRequired |
Type | Uniqueidentifier |
Property | Value |
---|---|
Description | For internal use only. |
DisplayName | Solution |
IsValidForForm | False |
IsValidForRead | False |
LogicalName | supportingsolutionid |
RequiredLevel | None |
Type | Uniqueidentifier |
Property | Value |
---|---|
Description | |
DisplayName | |
IsValidForForm | False |
IsValidForRead | True |
LogicalName | versionnumber |
MaxValue | 9223372036854775807 |
MinValue | -9223372036854775808 |
RequiredLevel | None |
Type | BigInt |
Listed by SchemaName.
Same as the Privilege_AsyncOperations many-to-one relationship for the asyncoperation entity.
Property | Value |
---|---|
ReferencingEntity | asyncoperation |
ReferencingAttribute | regardingobjectid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | Privilege_AsyncOperations |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
CascadeConfiguration | Assign: NoCascade Delete: NoCascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Same as the Privilege_BulkDeleteFailures many-to-one relationship for the bulkdeletefailure entity.
Property | Value |
---|---|
ReferencingEntity | bulkdeletefailure |
ReferencingAttribute | regardingobjectid |
IsHierarchical | False |
IsCustomizable | False |
ReferencedEntityNavigationPropertyName | Privilege_BulkDeleteFailures |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
CascadeConfiguration | Assign: NoCascade Delete: Cascade Merge: NoCascade Reparent: NoCascade Share: NoCascade Unshare: NoCascade |
Relationship details provided where the Privilege entity is the first entity in the relationship. Listed by SchemaName.
IntersectEntityName: roleprivileges
Property | Value |
---|---|
IntersectAttribute | privilegeid |
IsCustomizable | False |
LogicalName | privilege |
NavigationPropertyName | roleprivileges_association |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |
Property | Value |
---|---|
LogicalName | role |
IntersectAttribute | roleid |
NavigationPropertyName | roleprivileges_association |
AssociatedMenuConfiguration | Behavior: DoNotDisplay Group: Details Label: Order: |