Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRoleProvider.AddUsersToRoles Method

Adds the specified user names to the specified roles for the configured applicationName.

[Visual Basic]
Public Sub AddUsersToRoles( _
   ByVal usernames As String, _
   ByVal roleNames As String _
)
[C#]
void AddUsersToRoles(
   string[] usernames,
   string[] roleNames
);

Parameters

usernames
A string array of user names to be added to the specified roles.
roleNames
A string array of the role names to add the specified user names to.

See Also

IRoleProvider Interface | Spring.Web.Providers Namespace