Visual Guard Class Library Documentation

VGRoleProvider.GetUsersInRole Method 

Gets a list of users in the specified role.

public override string[] GetUsersInRole(
   String roleName
);

Parameters

roleName
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

Exception Type Condition
ArgumentException roleName is an empty string

-or-

roleName is longer than 64 characters.
ArgumentNullException roleName is null.

See Also

VGRoleProvider Class | Novalys.VisualGuard.Security.WebForm Namespace