privilege Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Represents a permission to perform an action in Microsoft Dynamics CRM. The platform checks for the privilege and rejects the attempt if the user does not hold the privilege.
For a list of methods and messages that operate on this class, see Privilege Entity Capabilities.
The privilege class inherits from BusinessEntity. It exposes the following members.
|privilege||Initializes a new instance of the privilege class.|
|accessright||Gets or sets the rights a user has to an instance of an entity.|
|canbebasic||Gets or sets a value that indicates whether the privilege applies to the user, the user's team, or objects shared by the user.|
|canbedeep||Gets or sets a value that indicates whether the privilege applies to child business units of the business unit associated with the user.|
|canbeglobal||Gets or sets a value that indicates whether the privilege applies to the entire organization.|
|canbelocal||Gets or sets a value that indicates whether the privilege applies to the user's business unit.|
|name||Gets or sets the name of the privilege.|
|privilegeid||Gets or sets the ID of the privilege.|
This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see 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. You can change the view to see non-customizable entities.
If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.
This entity is not customizable.
Web Service: CrmService
© 2010 Microsoft Corporation. All rights reserved.