共用方式為


Privilege and role entities

 

Applies To: Dynamics CRM 2013

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 2013.

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
Blog: Dynamics CRM 2011 Security Roles