IBM Tivoli Monitoring, Version 6.3

tacmd listUsers

Description

Use the tacmd listUsers command to list all the available users or users belonging to a particular group. To list users, 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 listUsers 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 listUsers
                      [{-u|--userid} TEPS_USERID]
                      [{-w|--password} TEPS_PASSWORD]
                      [{-g|--gid} GROUPID]
                      [{-s|--server} TEPS_HOSTNAME]
                      

where:
-g|--gid
Specifies the Group ID of an existing group. When you specify this option, the listUsers command shows all users that belong to the group. The Group ID must not contain any blank spaces characters in it. Its maximum allowed length is 32 characters, and it must begin with "_" or " * ".
-s|--server
Specifies the Tivoli Enterprise Portal Server hostname where the users exists. If not specified, the users belonging to the group ID are listed from the local Tivoli Enterprise Portal Server.
-u|--userid
Specifies the existing user ID to log in to Tivoli Enterprise Portal Server. 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 all the users on the server.
   tacmd listUsers –u sysadmin –w “tivoli123” –s HDCHASDSTC0219
This example lists all the users belongs to the group *ADMINISTRATOR.
   tacmd listUsers –g *ADMINISTRATOR –u sysadmin –w “tivoli123”
 –s HDCHASDSTC0219

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback