Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRoleProvider.FindUsersInRole Method

Gets an array of user names in a role where the user name contains the specified user name to match.

[Visual Basic]
Public Sub FindUsersInRole( _
   ByVal roleName As String, _
   ByVal usernameToMatch As String _
string[] FindUsersInRole(
   string roleName,
   string usernameToMatch


The role to search in.
The user name to search for.

Return Value

A string array containing the names of all the users where the user name matches usernameToMatch and the user is a member of the specified role.

See Also

IRoleProvider Interface | Spring.Web.Providers Namespace