viewUsers CLI command
Use the viewUsers command to display a list of users (either remote or local) and their properties, including state, role, email address, and date and time of last login.
If remote authentication is enabled, the command returns a list of all users defined on the remote authentication server who are currently connected to the library. If the -local option is specified, the command returns a list of all local users, connected and disconnected.
If remote authentication is not enabled, the command returns a list of all local users, connected and disconnected.
Syntax
viewUsers -local -ssl > <output-filename.csv>
Parameters
- -local
- (Optional.) If specified when remote authentication is enabled, the command returns a list of all local users. If remote authentication is not enabled, this option has no effect; the command still returns a list of local users.
- -ssl
- Required if SSL (HTTPS) is enabled.
- > <output-filename.csv>
- (Optional.) Instead of sending the command output to your display, this option sends the output to a .csv (comma-separated variable) file that can be opened and saved in a spreadsheet. By default, the file is saved in the directory where the CLI jar file is stored. To save the file in a different directory, specify the path to that directory.
Example command
viewUsers -local
Example output
Name, Locked, State, Role, Email, Last login
jecervan, , Disconnected, Administrator, xyz@mx1.ibm.com,
service, , Disconnected, Service, service@service.com,
temporal, , Disconnected, Administrator, , lunes, noviembre 25, 2013, 09:40:22 AM CST