Privilege and Role Entities
A privilege is a permission to perform an action on a specific entity type in Microsoft Dynamics CRM. The platform checks for the privilege and fails if the user does not hold the privilege. A privilege has an associated access level that determines the depth within the organization to which the privilege applies.
A role, or security role, is a grouping of security privileges. Users are assigned roles that authorize their access to Microsoft Dynamics CRM. A user must be assigned to at least one role. It is not sufficient to be a member of a team that has an assigned role.
For more information about access levels and roles, see How Role-Based Security Can Be Used to Control Access to Entities in Microsoft Dynamics CRM.
The following illustration shows the entity relationships for this area. For more information, see Key to Entity Diagrams.
TasksSample: Associate a Security Role to a Team
Sample: Associate a Security Role to a User
Sample: Determine Whether a User has a Role
Sample: Remove a Role for a User
Sample: Retrieve the Roles for an Organization
ConceptsRole (Security Role) Entity Messages and Methods
Role (Security Role) Entity Metadata
Role (Security Role) Entity OptionSet Attribute Metadata
Privilege Entity Messages and Methods
Privilege Entity Metadata
Other ResourcesAdministration and Security Entities (Organization, Business Unit, User, Team, Privilege, Role, Field Security)
Blog: Dynamics CRM 2011 Security Roles
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.