Gets a list of users in the specified role.

Namespace:  Novalys.VisualGuard.Security.WebForm
Assembly:  Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public override string[] GetUsersInRole(
	string roleName
)
Visual Basic (Declaration)
Public Overrides Function GetUsersInRole ( _
	roleName As String _
) As String()

Parameters

roleName
Type: System..::.String
The name of the role to get the list of users for.

Return Value

A string array containing the names of all the users who are members of the specified role.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionroleName is an empty string

-or-

roleName is longer than 64 characters.
System..::.ArgumentNullExceptionroleName is null.

See Also