Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RoleProviderAdapter.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 Overrides Sub FindUsersInRole( _
   ByVal roleName As String, _
   ByVal usernameToMatch As String _
) _
    Implements IRoleProvider.FindUsersInRole
[C#]
public override string[] FindUsersInRole(
   string roleName,
   string usernameToMatch
);

Parameters

roleName
The role to search in.
usernameToMatch
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.

Implements

IRoleProvider.FindUsersInRole

See Also

RoleProviderAdapter Class | Spring.Web.Providers Namespace