role Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Represents a grouping of security privileges. Users are assigned roles that authorize their access to the Microsoft Dynamics CRM system.
For a list of methods and messages that operate on this class, see Role Entity Capabilities.
The role class inherits from BusinessEntity. It exposes the following members.
|role||Initializes a new instance of the role class.|
|businessunitid||Gets or sets the ID of the business unit with which the role is associated.|
|createdby||Gets the ID of the user who created the role.|
|createdon||Gets the date and time when the role was created.|
|createdonbehalfby||Gets the ID of the proxy user who created the role.|
|importsequencenumber||Gets or sets the ID of the data import or data migration that created this record.|
|modifiedby||Gets the ID of the user who last modified the role.|
|modifiedon||Gets the date and time when the role was last modified.|
|modifiedonbehalfby||Gets the ID of the proxy user who last modified the role.|
|name||Gets or sets the name of the role.|
|organizationid||Gets the ID of the organization associated with the role.|
|overriddencreatedon||Gets or sets the date and time that the record was migrated.|
|parentroleid||Gets the ID of the parent role.|
|roleid||Gets or sets the ID of the role.|
|roletemplateid||Gets the ID of the role template that is associated with the role.|
For more information about entities and attributes, see Using 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.
Web Service: CrmService
© 2010 Microsoft Corporation. All rights reserved.