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.

[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
Inheritance
ActiveDirectoryRole
Attributes
Implements

Remarks

Nota

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

Produto Versões (Obsoleto)
.NET Framework 3.0, 3.5, 4.0 (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)

See also