Click or drag to resize
Galactic API

SimpleActiveDirectoryRoleProviderAddUsersToRoles Method

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

Namespace:  Galactic.Web.Security.SimpleActiveDirectory
Assembly:  Galactic.Web.Security.SimpleActiveDirectory (in Galactic.Web.Security.SimpleActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public override void AddUsersToRoles(
	string[] usernames,
	string[] roleNames
)

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