ActiveDirectoryRoleFactory.CreateFromSecurityIdentifier Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of ActiveDirectoryRole using a Windows NT SecurityIdentifier.
public:
static System::Workflow::Activities::ActiveDirectoryRole ^ CreateFromSecurityIdentifier(System::Security::Principal::SecurityIdentifier ^ sid);
public static System.Workflow.Activities.ActiveDirectoryRole CreateFromSecurityIdentifier (System.Security.Principal.SecurityIdentifier sid);
static member CreateFromSecurityIdentifier : System.Security.Principal.SecurityIdentifier -> System.Workflow.Activities.ActiveDirectoryRole
Public Shared Function CreateFromSecurityIdentifier (sid As SecurityIdentifier) As ActiveDirectoryRole
Parameters
The SecurityIdentifier to use to create the ActiveDirectoryRole.
Returns
An instance of ActiveDirectoryRole that describes the specified SecurityIdentifier.
Remarks
ActiveDirectoryRole is a concrete implementation of the WorkflowRole abstract class that is used to access Active Directory functionality. 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.