Click or drag to resize

Role Class

Grouping of security privileges. Users are assigned roles that authorize their access to the Microsoft CRM system.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceRole

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Role : Entity, INotifyPropertyChanging, INotifyPropertyChanged

The Role type exposes the following members.

Constructors
 NameDescription
Public methodRole Default Constructor.
Top
Properties
 NameDescription
Public propertyAttributes
(Inherited from Entity)
Public propertybusiness_unit_roles N:1 business_unit_roles
Public propertyBusinessUnitId Unique identifier of the business unit with which the role is associated.
Public propertyComponentState For internal use only.
Public propertyCreatedBy Unique identifier of the user who created the role.
Public propertyCreatedOn Date and time when the role was created.
Public propertyCreatedOnBehalfBy Unique identifier of the delegate user who created the role.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyIsCustomizable Information that specifies whether this component can be customized.
Public propertyIsManaged Indicates whether the solution component is part of a managed solution.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_role_createdonbehalfby N:1 lk_role_createdonbehalfby
Public propertylk_role_modifiedonbehalfby N:1 lk_role_modifiedonbehalfby
Public propertylk_rolebase_createdby N:1 lk_rolebase_createdby
Public propertylk_rolebase_modifiedby N:1 lk_rolebase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Unique identifier of the user who last modified the role.
Public propertyModifiedOn Date and time when the role was last modified.
Public propertyModifiedOnBehalfBy Unique identifier of the delegate user who last modified the role.
Public propertyName Name of the role.
Public propertyorganization_roles N:1 organization_roles
Public propertyOrganizationId Unique identifier of the organization associated with the role.
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOverwriteTime For internal use only.
Public propertyParentRoleId Unique identifier of the parent role.
Public propertyParentRootRoleId Unique identifier of the parent root role.
Public propertyReferencedrole_parent_role 1:N role_parent_role
Public propertyReferencedrole_parent_root_role 1:N role_parent_root_role
Public propertyReferencingrole_parent_role N:1 role_parent_role
Public propertyReferencingrole_parent_root_role N:1 role_parent_root_role
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRole_AsyncOperations 1:N Role_AsyncOperations
Public propertyRole_BulkDeleteFailures 1:N Role_BulkDeleteFailures
Public propertyRole_SyncErrors 1:N Role_SyncErrors
Public propertyRoleId Unique identifier of the role.
Public propertyRoleIdUnique For internal use only.
Public propertyroleprivileges_association N:N roleprivileges_association
Public propertyRoleTemplateId Unique identifier of the role template that is associated with the role.
Public propertyRowVersion
(Inherited from Entity)
Public propertySolutionId Unique identifier of the associated solution.
Public propertysystemuserroles_association N:N systemuserroles_association
Public propertyteamroles_association N:N teamroles_association
Public propertyuserentityinstancedata_role 1:N userentityinstancedata_role
Public propertyVersionNumber Version number of the role.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also