Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RoleProviderAdapter.GetRolesForUser Method

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

[Visual Basic]
Public Overrides Sub GetRolesForUser( _
   ByVal username As String _
) _
    Implements IRoleProvider.GetRolesForUser
[C#]
public override 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.

Implements

IRoleProvider.GetRolesForUser

See Also

RoleProviderAdapter Class | Spring.Web.Providers Namespace