Dela via


Privilege and role entities

 

Applies To: Dynamics CRM 2015

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

Privilege and role entity relationship diagram

See Also

Role (security role) entity messages and methods
Privilege entity messages and methods
Sample: 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

© 2016 Microsoft. All rights reserved. Copyright