This documentation is archived and is not being maintained.

ActiveDirectoryRoleFactory Class

A factory class for creating ActiveDirectoryRole objects from Windows NT aliases, e-mail addresses, and security identifiers (SIDs).


Namespace:  System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public static class ActiveDirectoryRoleFactory

The ActiveDirectoryRoleFactory type exposes the following members.

Public propertyStatic memberConfigurationGets the ActiveDirectoryRoleFactoryConfiguration object that is associated with the ActiveDirectoryRoleFactory.

Public methodStatic memberCreateFromAliasCreates an instance of ActiveDirectoryRole using the specified Windows NT alias.
Public methodStatic memberCreateFromEmailAddressCreates an instance of ActiveDirectoryRole using an e-mail address.
Public methodStatic memberCreateFromSecurityIdentifierCreates an instance of ActiveDirectoryRole using a Windows NT SecurityIdentifier.

All methods in ActiveDirectoryRoleFactory are static and no instance needs to be created. The constructor is hidden.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.