Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RoleProviderAdapter.AddUsersToRoles Method

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

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

Implements

IRoleProvider.AddUsersToRoles

See Also

RoleProviderAdapter Class | Spring.Web.Providers Namespace