Breyta

Deila með


ActiveDirectoryRole Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Represents an Active Directory role in a Windows Workflow Foundation hosting environment. This class cannot be inherited.

public ref class ActiveDirectoryRole sealed : System::Workflow::Activities::WorkflowRole, IDisposable, System::Runtime::Serialization::ISerializable
[System.Serializable]
public sealed class ActiveDirectoryRole : System.Workflow.Activities.WorkflowRole, IDisposable, System.Runtime.Serialization.ISerializable
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActiveDirectoryRole : System.Workflow.Activities.WorkflowRole, IDisposable, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type ActiveDirectoryRole = class
    inherit WorkflowRole
    interface ISerializable
    interface IDisposable
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActiveDirectoryRole = class
    inherit WorkflowRole
    interface ISerializable
    interface IDisposable
Public NotInheritable Class ActiveDirectoryRole
Inherits WorkflowRole
Implements IDisposable, ISerializable
Inheritance
ActiveDirectoryRole
Attributes
Implements

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Typically, the Active Directory store is used for storing organizational information for personnel. The main purpose for the ActiveDirectoryRole is for making queries against such organizational information for business reasons.

Active Directory roles typically correspond to a job function, title, or job skill within the context of the organization.

Properties

Name

Gets or sets the Active Directory role name.

RootEntry

Gets the root Active Directory node associated with the ActiveDirectoryRole.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAllReports()

Returns an ActiveDirectoryRole that contains all the roles that report to the current role either directly or indirectly.

GetDirectReports()

Returns an ActiveDirectoryRole that contains all the roles that report directly to the current role.

GetEntries()

Returns the generic collection that contains all DirectoryEntry objects associated with the current ActiveDirectoryRole.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIdentities()

Gets a generic list of the Windows NT accounts associated with the ActiveDirectoryRole.

GetManager()

Returns an Active Directory role that contains information about the manager of the current ActiveDirectoryRole.

GetManagerialChain()

Returns the Active Directory role that contains information about the managerial chain associated with the current ActiveDirectoryRole.

GetPeers()

Returns an Active Directory role that contains information about all the directory operations that are supervised by the manager of the current ActiveDirectoryRole.

GetSecurityIdentifiers()

Returns a generic list of SecurityIdentifier objects associated with the current ActiveDirectoryRole.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IncludesIdentity(String)

Returns a value that indicates whether the ActiveDirectoryRole contains the specified identity.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose()

Releases all resources used by the ActiveDirectoryRole.

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data required to serialize the target object.

Applies to

See also