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 = "http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RolePrivilege : IExtensibleDataObject
[DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
public ref class RolePrivilege sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")>]
type RolePrivilege = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Namespace := "http://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class RolePrivilege
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod RolePrivilege()

Initializes a new instance of the RolePrivilege class.

System_CAPS_pubmethod RolePrivilege(Int32, Guid)

Initializes a new instance of the RolePrivilege class by setting the depth and the privilege ID.

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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
System_CAPS_pubproperty BusinessUnitId

Gets or sets the ID of the business unit.

System_CAPS_pubproperty Depth

Gets or sets the depth of the privilege.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty PrivilegeId

Gets or sets the ID of the privilege.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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