WebWorkflowRole Constructors

Definition

Initializes a new instance of the WebWorkflowRole class.

Overloads

WebWorkflowRole(String)

Initializes a new instance of the WebWorkflowRole class by using the specified role name.

WebWorkflowRole(String, String)

Initializes a new instance of the WebWorkflowRole class by using the specified role name and role provider.

WebWorkflowRole(String)

Initializes a new instance of the WebWorkflowRole class by using the specified role name.

public:
 WebWorkflowRole(System::String ^ roleName);
public WebWorkflowRole (string roleName);
new System.Workflow.Activities.WebWorkflowRole : string -> System.Workflow.Activities.WebWorkflowRole
Public Sub New (roleName As String)

Parameters

roleName
String

A string that defines the name of the role.

Exceptions

roleName contains a null reference (Nothing in Visual Basic).

Applies to

WebWorkflowRole(String, String)

Initializes a new instance of the WebWorkflowRole class by using the specified role name and role provider.

public:
 WebWorkflowRole(System::String ^ roleName, System::String ^ provider);
public WebWorkflowRole (string roleName, string provider);
new System.Workflow.Activities.WebWorkflowRole : string * string -> System.Workflow.Activities.WebWorkflowRole
Public Sub New (roleName As String, provider As String)

Parameters

roleName
String

A string that defines the name of the role.

provider
String

A string that defines the role provider.

Exceptions

roleName contains a null reference (Nothing in Visual Basic).

Remarks

The most commonly used role providers for WebWorkflowRole are classes that inherit from RoleProvider. These classes include AuthorizationStoreRoleProvider, SqlRoleProvider and WindowsTokenRoleProvider.

Applies to