Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRoleProvider.GetRolesForUser Method

Gets a list of the roles that a specified user is in for the configured applicationName.

[Visual Basic]
Public Sub GetRolesForUser( _
   ByVal username As String _
)
[C#]
string[] GetRolesForUser(
   string username
);

Parameters

username
The user to return a list of roles for.

Return Value

A string array containing the names of all the roles that the specified user is in for the configured applicationName.

See Also

IRoleProvider Interface | Spring.Web.Providers Namespace