who

The who command displays authentication information for the users who are currently logged in. It also includes information about users who are logged in with service and engineering roles.

Read syntax diagramSkip visual syntax diagram who  -s  -l  -group group_name  -pol pol_name  -type  client_type -address client_address -protocol none sslv3 tlsv1.0 tlsv1.1 tlsv1.2 tlsv1.3 user_name  "-"  

Parameters

-s
(Optional) Displays the user names for the users who are currently logged on. The -l and -s parameters cannot be used together.
-l
(Optional) Displays details about the users who are currently logged on, including user name and authority groups that the user belongs to. The -l and -s parameters cannot be used together.
-group group_name
(Optional) Displays the list of users who are currently logged in and who are part of the specified access authority group. If the user has multiple group roles, the user is displayed if any of those roles match the specified group.
group_name
The following list provides the list choices that can be assigned to a user. The group_name can be one of the following roles:
  • admin (Administrator)
  • ibm_engineering (Engineer)
  • ibm_service (Service)
    Note: The "ibm_engineering" and "ibm_service" roles cannot be combined with other existing roles. The DSCLI allows users to have multiple roles, but currently the only combination allowed is "op_volume" + "op_copy_services."
  • op_storage (Physical Operator)
  • op_volume (Logical Operator)
  • op_copy_services (Copy Services Operator)
  • secadmin (Security Administrator)
  • service (Service Operator)
  • monitor (Monitor)
  • no_access (No Access)
-pol pol_name
(Optional) Displays the list of users who are currently logged in under the specified client type.
-type client_type
(Optional) Displays the list of users who are currently logged in and who have the specified client type. One of the following client types are displayed:
DSCLI
DS Command Line Interface
DSGUI
DS Storage Management GUI
HMTU
IBM® Easy Tier® Heat Map Transfer Utility
SC
IBM Spectrum Control
CSM
IBM Copy Services Manager
Unknown
Unknown might be displayed for older versions of any of the client types that are listed above.
-address client_address
(Optional) Displays the users who are currently logged in with the specified client address.
-protocol none |sslv3 | tlsv1.0 |tlsv1.1 | tlsv1.2| tlsv1.3
(Optional) Displays the users who are currently logged in with the specified client connection protocol.
None
The connection is not encrypted.
sslv3
Secure Socket Layer version 3.
tlsv1.0
Transport Layer Security version 1.0.
tlsv1.1
Transport Layer Security version 1.1.
tlsv1.2
Transport Layer Security version 1.2.
tlsv1.3
Transport Layer Security version 1.3.
user_name |   - 
(Optional) Displays only the users names for the specified user account.
If you use the dash (-), the specified value is read from standard input. You cannot use the dash (-) while you are in the DS CLI interactive command mode.

Example: Viewing authentication information for the users who are currently logged in.

dscli> who 

Output:

Name Group Policy Scope Type
Testuser service,op_copy_services localPolicy ABC_Co DSGUI
Biguser admin localPolicy * DSCLI
Shyuser ibm_service initalPolicy Public DSCLI
Version Address Protocol
- 9.123.236.89 Internal
7.9.40.204 9.123.456.139 TLSv1.2
7.9.40.409 9.123.456.139 TLSv1.3

Output definitions

Name
The user names for the users who are currently logged on.
Group
The authority groups that the current users are assigned to.
Policy
The name of the authentication policy that was active when each of the current users authenticated. The currently active policy can differ.
Scope
The user resource scope.
Type
The client type. The value is Unknown when the DS CLI is pre-R6.1.
Version
The client version. The value is Unknown when the DS CLI is pre-R6.1.
Address
The client address.
Protocol
The type of client connection protocol is provided.
None
The connection is not encrypted.
Internal
The connection is wholly contained within the HMC.
SSLv3
Secure Socket Layer version 3.
TLSv1.0
Transport Layer Security version 1.0.
TLSv1.1
Transport Layer Security version 1.1.
TLSv1.2
Transport Layer Security version 1.2.
TLSv1.3
Transport Layer Security version 1.3.
-
The dash (-) indicates that the connection protocol is unknown or the reporting query is not supported.