Επεξεργασία

Κοινή χρήση μέσω


ActiveDirectoryRoleFactory.CreateFromSecurityIdentifier Method

Definition

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

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.

Applies to