Editar

Compartilhar via


Privilege table/entity reference

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.

Messages

The following table lists the messages for the Privilege table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Retrieve
Event: False
GET /privileges(privilegeid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: False
GET /privileges
See Query data
Query data

Properties

The following table lists selected properties for the Privilege table.

Property Value
DisplayName Privilege
DisplayCollectionName Privileges
SchemaName Privilege
CollectionSchemaName Privileges
EntitySetName privileges
LogicalName privilege
LogicalCollectionName privileges
PrimaryIdAttribute privilegeid
PrimaryNameAttribute name
TableType Standard
OwnershipType None

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

AccessRight

Property Value
Description Rights a user has to an instance of an entity.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName accessright
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

CanBeBasic

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
GlobalChoiceName privilege_canbebasic
DefaultValue False
True Label Yes
False Label No

CanBeDeep

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
GlobalChoiceName privilege_canbedeep
DefaultValue False
True Label Yes
False Label No

CanBeEntityReference

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
GlobalChoiceName privilege_canbeentityreference
DefaultValue False
True Label Yes
False Label No

CanBeGlobal

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
GlobalChoiceName privilege_canbeglobal
DefaultValue False
True Label Yes
False Label No

CanBeLocal

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
GlobalChoiceName privilege_canbelocal
DefaultValue False
True Label Yes
False Label No

CanBeParentEntityReference

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
GlobalChoiceName privilege_canbeparententityreference
DefaultValue False
True Label Yes
False Label No

CanBeRecordFilter

Property Value
Description Information that specifies whether the privilege applies to the record filters.
DisplayName Can Be Record Filter
IsValidForForm True
IsValidForRead True
LogicalName canberecordfilter
RequiredLevel None
Type Boolean
GlobalChoiceName privilege_canberecordfilter
DefaultValue False
True Label Yes
False Label No

IntroducedVersion

Property Value
Description Version in which the component is introduced.
DisplayName Introduced Version
IsValidForForm False
IsValidForRead True
LogicalName introducedversion
RequiredLevel None
Type String
Format VersionNumber
FormatName VersionNumber
ImeMode Auto
IsLocalizable False
MaxLength 48

IsCustomizable

Property Value
Description Information that specifies whether this component can be customized.
DisplayName Customizable
IsValidForForm False
IsValidForRead True
LogicalName iscustomizable
RequiredLevel SystemRequired
Type ManagedProperty

Name

Property Value
Description Name of the privilege.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName name
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 256

PrivilegeId

Property Value
Description Unique identifier of the privilege.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName privilegeid
RequiredLevel SystemRequired
Type Uniqueidentifier

PrivilegeRowId

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
LogicalName privilegerowid
RequiredLevel SystemRequired
Type Uniqueidentifier

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

ComponentState

Property Value
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue -1
GlobalChoiceName componentstate

ComponentState Choices/Options

Value Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

IsDisabledWhenIntegrated

Property Value
Description Specifies whether the privilege is disabled.
DisplayName
IsValidForForm False
IsValidForRead False
LogicalName isdisabledwhenintegrated
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName privilege_isdisabledwhenintegrated
DefaultValue False
True Label Yes
False Label No

IsManaged

Property Value
Description Information that specifies whether this component is managed.
DisplayName State
IsValidForForm False
IsValidForRead True
LogicalName ismanaged
RequiredLevel SystemRequired
Type Boolean
GlobalChoiceName ismanaged
DefaultValue False
True Label Managed
False Label Unmanaged

OverwriteTime

Property Value
Description For internal use only.
DisplayName Record Overwrite Time
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

SolutionId

Property Value
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

SupportingSolutionId

Property Value
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

VersionNumber

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

solution_privilege

One-To-Many Relationship: solution solution_privilege

Property Value
ReferencedEntity solution
ReferencedAttribute solutionid
ReferencingAttribute solutionid
ReferencingEntityNavigationPropertyName solution_privilege
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

Privilege_AsyncOperations

Many-To-One Relationship: asyncoperation Privilege_AsyncOperations

Property Value
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName Privilege_AsyncOperations
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

Privilege_BulkDeleteFailures

Many-To-One Relationship: bulkdeletefailure Privilege_BulkDeleteFailures

Property Value
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName Privilege_BulkDeleteFailures
IsCustomizable False
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

privilegecheckerlog_CheckedPrivilege

Many-To-One Relationship: privilegecheckerlog privilegecheckerlog_CheckedPrivilege

Property Value
ReferencingEntity privilegecheckerlog
ReferencingAttribute checkedprivilege
ReferencedEntityNavigationPropertyName privilegecheckerlog_CheckedPrivilege
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: UseCollectionName
Group: Details
Label:
MenuId: null
Order: 10000
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

Many-to-Many relationships

These relationships are many-to-many. Listed by SchemaName.

roleprivileges_association

See role roleprivileges_association Many-To-Many Relationship

Property Value
IntersectEntityName roleprivileges
IsCustomizable False
SchemaName roleprivileges_association
IntersectAttribute privilegeid
NavigationPropertyName roleprivileges_association
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

roletemplateprivileges_association

See roletemplate roletemplateprivileges_association Many-To-Many Relationship

Property Value
IntersectEntityName roletemplateprivileges
IsCustomizable False
SchemaName roletemplateprivileges_association
IntersectAttribute privilegeid
NavigationPropertyName roletemplateprivileges_association
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
privilege