Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRoleProvider.GetUsersInRole Method

Gets a list of users in the specified role for the configured applicationName.

[Visual Basic]
Public Sub GetUsersInRole( _
   ByVal roleName As String _
)
[C#]
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 for the configured applicationName.

See Also

IRoleProvider Interface | Spring.Web.Providers Namespace