[TIBCO.EMS .NET Admin client library 8.1 documentation]

Add the users for the given array of userNames to the group for the given groupName.

Namespace:  TIBCO.EMS.ADMIN
Assembly:  TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)

Syntax

public void AddUsersToGroup(
	string groupName,
	string[] userNames
)
Public Sub AddUsersToGroup ( _
	groupName As String, _
	userNames As String() _
)
public:
void AddUsersToGroup(
	String^ groupName, 
	array<String^>^ userNames
)

Parameters

groupName
Type: System..::.String
The group that the users will be added to.
userNames
Type: array< System..::.String >[]()[]
The users to be added.

Exceptions

ExceptionCondition
TIBCO.EMS.ADMIN..::.AdminExceptionif not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException if the names of the group or users are not legal.
System..::.ArgumentException if the array of user names is null.

See Also