RolePrivilege Class
Applies To: Dynamics CRM 2015
Contains information about a privilege.
Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Inheritance Hierarchy
System.Object
Microsoft.Crm.Sdk.Messages.RolePrivilege
Syntax
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RolePrivilege : IExtensibleDataObject
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public ref class RolePrivilege sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")>]
type RolePrivilege =
class
interface IExtensibleDataObject
end
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class RolePrivilege
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
RolePrivilege() | Initializes a new instance of the RolePrivilege class. |
|
RolePrivilege(Int32, Guid) | Initializes a new instance of the RolePrivilege class by setting the depth and the privilege ID. |
|
RolePrivilege(Int32, Guid, Guid) | Initializes a new instance of the RolePrivilege class by setting the depth (as an integer), the privilege ID, and the business unit ID. |
|
RolePrivilege(PrivilegeDepth, Guid, Guid) | Initializes a new instance of the RolePrivilege class by setting the depth, privilege ID, and business unit ID. |
Properties
Name | Description | |
---|---|---|
BusinessUnitId | Gets or sets the ID of the business unit. |
|
Depth | Gets or sets the depth of the privilege. |
|
ExtensionData | Gets or sets the structure that contains extra data. |
|
PrivilegeId | Gets or sets the ID of the privilege. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
AddPrivilegesRoleRequest
ReplacePrivilegesRoleRequest
Microsoft.Crm.Sdk.Messages Namespace
How role-based security can be used to control access to entities in Microsoft Dynamics CRM
Privilege and role entities
Sample: Assign a record to a team
Return to top
© 2016 Microsoft. All rights reserved. Copyright