Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 6.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

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if 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

Admin Class
TIBCO.EMS.ADMIN Namespace