This documentation is archived and is not being maintained.

privilege Class (CrmService)

Dynamics
banner art

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

ConstructorDescription
privilegeInitializes a new instance of the privilege class.

Instance PropertyDescription
accessrightGets or sets the rights a user has to an instance of an entity.
canbebasicGets or sets a value that indicates whether the privilege applies to the user, the user's team, or objects shared by the user.
canbedeepGets or sets a value that indicates whether the privilege applies to child business units of the business unit associated with the user.
canbeglobalGets or sets a value that indicates whether the privilege applies to the entire organization.
canbelocalGets or sets a value that indicates whether the privilege applies to the user's business unit.
nameGets or sets the name of the privilege.
privilegeidGets or sets the ID of the privilege.

Remarks

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.

Requirements

Web Service: CrmService

See Also

Concepts

Tasks

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: