Privilege and role entities
Applies To: CRM 2015 on-prem, CRM Online
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 CRM. A user must be assigned to at least one role. It isn’t 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. More information: Key to entity diagrams
ConceptsRole (security role) entity messages and methods
Privilege entity messages and methods
Other ResourcesSample: 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
Administration and security entities
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.