GnomonRoleProviderAddUsersToRoles Method |
Adds the specified user names to the specified roles for the configured applicationName.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override void AddUsersToRoles(
string[] usernames,
string[] roleNames
)
Public Overrides Sub AddUsersToRoles (
usernames As String(),
roleNames As String()
)
public:
virtual void AddUsersToRoles(
array<String^>^ usernames,
array<String^>^ roleNames
) override
abstract AddUsersToRoles :
usernames : string[] *
roleNames : string[] -> unit
override AddUsersToRoles :
usernames : string[] *
roleNames : string[] -> unit
Parameters
- usernames
- Type: SystemString
A string array of user names to be added to the specified roles. - roleNames
- Type: SystemString
A string array of the role names to add the specified user names to.
Exceptions See Also