| ActiveDirectoryRoleProviderAddUsersToRoles Method |
Adds the specified user names to the specified roles for the configured applicationName.
Namespace:
Galactic.Web.Security.ActiveDirectory
Assembly:
Galactic.Web.Security.ActiveDirectory (in Galactic.Web.Security.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
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.
See Also