AccessRights Class
The AccessRights class type describes the possible access rights for a user. Please note that although the APIs may accept any value, these are the valid values for access rights. To specify multiple values, use the bitwise or operator (| in C# and Or in Microsoft® Visual Basic® .NET) as shown in the following example:
uint right = Microsoft.Crm.Platform.Types.AccessRights.CRM_ACCESS_READ
| Microsoft.Crm.Platform.Types.AccessRights.CRM_ACCESS_WRITE
| Microsoft.Crm.Platform.Types.AccessRights.CRM_ACCESS_SHARE;
This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used as a parameter in the Microsoft CRM APIs.
System.Object
AccessRights
[Visual Basic .NET]
Public Class AccessRights
Inherits System.Object
[C#]
public class AccessRights: System.Object
[C++]
public __gc class AccessRights: public System.Object
The AccessRights class exposes the following integer fields.
Integer fields | Value | Description |
CRM_ACCESS_ALL | CRM_ACCESS_READ |
CRM_ACCESS_WRITE | CRM_ACCESS_DELETE | CRM_ACCESS_APPEND | CRM_ACCESS_ASSIGN | CRM_ACCESS_SHARE | CRM_ACCESS_CREATE | CRM_ACCESS_EXECUTE | CRM_ACCESS_APPENDTO |
The union of all access rights. |
CRM_ACCESS_APPEND | 0x00000004 | The right to append the specified object to another object. |
CRM_ACCESS_APPENDTO | 0x00000010 | The right to append another object to the specified object. |
CRM_ACCESS_ASSIGN | 0x00080000 | The right to assign the specified object to another security principal. |
CRM_ACCESS_CREATE | 0x00000020 | The right to create an instance of the object type. |
CRM_ACCESS_DELETE | 0x00010000 | The right to delete the specified object. |
CRM_ACCESS_EXECUTE | 0x00000040 | The right to execute the specified query. |
CRM_ACCESS_READ | 0x00000001 | The right to read the specified type of object. |
CRM_ACCESS_SHARE | 0x00040000 | The right to share the specified object. |
CRM_ACCESS_WRITE | 0x00000002 | The right to write (update) the specified object. |
Requirements
Namespace: Microsoft.Crm.Platform.Types
Assembly: Microsoft.Crm.Platform.Types.dll
See Also