Export (0) Print
Expand All

Privilege entity messages and methods

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

A privilege is a permission to perform an action in Microsoft Dynamics CRM. The platform checks for the privilege. It fails if the user does not hold the privilege.

Microsoft Dynamics CRM contains a complete set of privileges for all entities, including custom entities. Privileges cannot be added to the system except that when a custom entity is added, generated custom entity privileges are added for that entity. When a custom entity is deleted, the corresponding privileges are deleted also.

For more information, see Security role and privilege reference. The schema name 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. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the tools folder of the SDK download.

The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.


Message Description


Initializes a new record from an existing record provided that an attribute map is defined for the two entities. For more information, see Customize entity and attribute mappings.


Detects and retrieves duplicate records for the specified record provided that duplicate detection is enabled and there are published duplicate detection rules for the entity. For more information, see Detect duplicate data.


Retrieves a privilege. You can also call the IOrganizationService.Retrieve method.


Retrieves a collection of privileges. You can also call the IOrganizationService.RetrieveMultiple method.


Retrieves the set of privileges defined in the system.


Retrieves the set of privileges for a user. Use the RetrieveMultipleRequest method instead.

See Also

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