Privilege and role entities
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics 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
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
Privilege entity messages and methods
Other ResourcesAdministration and security entities
Blog: Dynamics CRM 2011 Security Roles
Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.