Click or drag to resize

Privilege Class

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.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServicePrivilege

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

The Privilege type exposes the following members.

Constructors
 NameDescription
Public methodPrivilege Default Constructor.
Top
Properties
 NameDescription
Public propertyAccessRight Rights a user has to an instance of an entity.
Public propertyAttributes
(Inherited from Entity)
Public propertyCanBeBasic Information that specifies whether the privilege applies to the user, the user's team, or objects shared by the user.
Public propertyCanBeDeep Information that specifies whether the privilege applies to child business units of the business unit associated with the user.
Public propertyCanBeEntityReference Information that specifies whether the privilege applies to the local reference of an external party.
Public propertyCanBeGlobal Information that specifies whether the privilege applies to the entire organization.
Public propertyCanBeLocal Information that specifies whether the privilege applies to the user's business unit.
Public propertyCanBeParentEntityReference Information that specifies whether the privilege applies to parent reference of the external party.
Public propertyChannelAccessProfile_Privilege N:N ChannelAccessProfile_Privilege
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 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 propertyLogicalName
(Inherited from Entity)
Public propertyName Name of the privilege.
Public propertyPrivilege_AsyncOperations 1:N Privilege_AsyncOperations
Public propertyPrivilege_BulkDeleteFailures 1:N Privilege_BulkDeleteFailures
Public propertyPrivilegeId Unique identifier of the privilege.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyroleprivileges_association N:N roleprivileges_association
Public propertyRowVersion
(Inherited from Entity)
Public propertyuserentityinstancedata_privilege 1:N userentityinstancedata_privilege
Public propertyVersionNumber 
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