IBM Tivoli Monitoring, Version 6.3

tacmd listUserGroups

Description

Use the tacmd listUserGroups command to list all the available user groups. To list groups, the log in user must have the following permissions on the Tivoli Enterprise Portal:
  • User Administration -> Login
  • User Administration -> View
  • User Administration -> Modify
Note: If you want to use the current tacmd tepsLogin values for username, password, and server hostname, do not enter any of these options for the listUserGroups command. If you specify values for some, but not all of these options, you are prompted to specify the username and password if they are missing.

CLI syntax

tacmd listUserGroups
                       [{-u|--userid} TEPS_USERID ]
                       [{-w|--password} TEPS_PASSWORD]
                       [{-i|--id} USERID]
                       [{-s|--server} TEPS_HOSTNAME]
                      

where:
-i|--id
Specifies the user ID for which the assigned groups have to be listed. The User ID must not contain any blank space characters in it, and its maximum allowed length is 10 characters and it must not begin with '*' or '_' character.
-s|--server
Specifies the Tivoli® Enterprise Portal Server hostname where the groups exist. If not specified, the groups are listed from the local Tivoli Enterprise Portal Server.
-u|--userid
Specifies an existing User ID to log in to Tivoli Enterprise Portal. The software prompts you for the User ID if you do not specify one.
-w|--password
Specifies the password for user authentication. The software prompts you for the password if you do not specify one.

CLI example

This example lists the entire user group available on the server.
   tacmd listUserGroups –u sysadmin –w “tivoli123” –s HDCHASDSTC0219
This example lists the group that the user TESTUSER belongs to.
   tacmd listUserGroups –i TESTUSER –u sysadmin –w “tivoli123” 
–s HDCHASDSTC0219

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback