privilege Class
CRM 1.2
![]() |
Represents a permission to perform an action in Microsoft CRM. The platform checks for the privilege and rejects the attempt if the user does not hold the privilege.
The privilege class inherits from BusinessEntity.
Public Methods
For a list of methods and messages that operate on this class, see Privilege.
| Constructor | Description |
| privilege | Initializes a new instance of the privilege class. |
Public Fields
| Field | Description |
| accessright | Specifies the rights a user has to an instance of an entity. |
| canbebasic | Specifies whether the privilege applies to the user, the user's team, or objects shared by the user. |
| canbedeep | Specifies whether the privilege applies to child business units of the business unit associated with the user. |
| canbeglobal | Specifies whether the privilege applies to the entire organization. |
| canbelocal | Specifies whether the privilege applies to the user's business unit. |
| name | Specifies the name of the privilege. |
| privilegeid | Specifies the ID of the privilege. |
Remarks
For more information about entities and attributes, see the Metadata Browser and the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities.
See Also
© 2007 Microsoft Corporation. All rights reserved.
