[TIBCO.EMS .NET Admin client library 6.3 documentation]
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Add the users for the given array of userNames to the group for the given groupName.
Namespace:
TIBCO.EMS.ADMINAssembly: 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. |