Privilege Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the privilege entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is Privilege.

To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.

In This Topic

Entity Metadata

Privilege Metadata

Attribute Metadata

One-to-Many Relationships

Many-to-Many Relationships

Many-to-One Relationships

Entity Metadata

The following table shows the metadata for the privilege entity.

Metadata property Value

OTC

1023

EntityLogicalName

privilege

DisplayName

Privilege

OwnershipType

None

IsCustomizable

False

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.

IsAvailableOffline

True

IsAuditEnabled

False

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

False

CanTriggerWorkflow

False

IsActivity

False

IsActivityParty

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

False

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

False

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

False

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

privilegeid

PrimaryNameAttribute

name

ReportViewName

FilteredPrivilege

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Privileges

Privilege Metadata

There is no privilege metadata for the privilege entity.

Attribute Metadata

The following table shows the attribute metadata for the privilege entity.

LogicalName Description Type SchemaName IsCustomAttribute IsCustomizable RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion

accessright

Rights a user has to an instance of an entity.

Integer

AccessRight

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

canbebasic

Information that specifies whether the privilege applies to the user, the user's team, or objects shared by the user.

Boolean

CanBeBasic

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

canbedeep

Information that specifies whether the privilege applies to child business units of the business unit associated with the user.

Boolean

CanBeDeep

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

canbeglobal

Information that specifies whether the privilege applies to the entire organization.

Boolean

CanBeGlobal

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

canbelocal

Information that specifies whether the privilege applies to the user's business unit.

Boolean

CanBeLocal

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

isdisabledwhenintegrated

Specifies whether the privilege is disabled.

Boolean

IsDisabledWhenIntegrated

False

False

SystemRequired

False

False

False

False

False

False

True

True

False

False

False

False

False

name

Name of the privilege.

String

Name

False

False

None

True

True

True

False

False

False

True

True

False

True

False

False

False

privilegeid

Unique identifier of the privilege.

Uniqueidentifier

PrivilegeId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

False

versionnumber

BigInt

VersionNumber

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the privilege entity.

Relationship schema name Referencing Entity

Privilege_AsyncOperations

asyncoperation

Privilege_BulkDeleteFailures

bulkdeletefailure

FK_PrivilegeObjectTypeCodes

privilegeobjecttypecodes

userentityinstancedata_privilege

userentityinstancedata

Many-to-Many Relationships

The following table shows the many-to-many relationships for the privilege entity.

Relationship schema name Entity 1 Entity 2 Intersect Entity

roleprivileges_association

privilege

role

roleprivileges

roletemplateprivileges_association

roletemplate

privilege

roletemplateprivileges

For information about using intersect entities, see Retrieve Records for Many-To-Many Relationships Using Intersect Entities.

Many-to-One Relationships

There are no entities that are the referenced entity in a many-to-one relationship with the privilege entity.

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

Privilege Entity Messages and Methods
Privilege Entity Privileges

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.