[TIBCO.EMS .NET Admin client library 7.0 documentation]
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Add the user for the given userName to the group for the given groupName.
Namespace:
TIBCO.EMS.ADMINAssembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Syntax
public void AddUserToGroup( string groupName, string userName ) |
Public Sub AddUserToGroup ( _ groupName As String, _ userName As String _ ) |
public: void AddUserToGroup( String^ groupName, String^ userName ) |
Parameters
- groupName
- Type: System..::.String
The group that the user will be added to.
- userName
- Type: System..::.String
The user 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 the user are not legal. |