Export (0) Print
Expand All

ActiveDirectoryRoleFactory Class

Note: This API is now obsolete.

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)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
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.


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

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
Obsolete (compiler warning) in 4.6

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
© 2014 Microsoft