MySQL Connector/Net |
MySQLRoleProvider..::.AddUsersToRoles Method |
MySQLRoleProvider Class See Also Send Feedback |
Adds the users to roles.
Namespace:
MySql.Web.Security
Assembly:
MySql.Web (in MySql.Web.dll) Version: 6.2.2.0
Syntax
C# |
---|
public override void AddUsersToRoles( string[] usernames, string[] rolenames ) |
Visual Basic (Declaration) |
---|
Public Overrides Sub AddUsersToRoles ( _ usernames As String(), _ rolenames As String() _ ) |
Visual C++ |
---|
public: virtual void AddUsersToRoles( array<String^>^ usernames, array<String^>^ rolenames ) override |
Parameters
- usernames
- Type: array<
System..::.String
>[]()[]
The usernames.
- rolenames
- Type: array<
System..::.String
>[]()[]
The rolenames.