HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

Setting a User’s Current Domain
The current domain refers to the domain in which a user is working during a particular, single CLI
session.
To set a user’s current domain, issue the setclienv currentdomain <domain_name>
command, where <domain_name> is the domain you wish to set as the working domain for the
current CLI session.
Removing a User’s Current Domain
NOTE: When issuing the setclienv currentdomain -unset command, you are not
returned to your default domain.
To remove a user’s current domain, issue the setclienv currentdomain -unset command.
Viewing User Connections
To view users currently connected to your system, including their IP addresses and their connection
information, issue the showuserconn command.
If you are using domains, prior to issuing the showuserconn command, you must first set the
TPDLISTDOM environment variable or the -listdom global option to display domain information.
If you are working in a Tcl shell, issue the setclienv listdom 1 command to set your system
output to display domain information. See “Listing Domains” (page 49) for further information.
If the setclienv listdom 1 command is issued when viewing system objects, a Domain
column is displayed. Objects not belonging to any domain (no domain) are displayed with a dash
(-) under the Domain column. Otherwise, the domain to which the object belongs appears under
the Domain column.
To view a user’s connection to the system, issue the showuserconn <ID> <user_name>
<IP_address> command, where:
<ID> is the user’s numeric ID.
<user_name> is the user’s assigned name.
<IP_address> is the user’s IP address.
For more information about the showuserconn command, see the HP 3PAR Command Line
Interface Reference.
Removing User Connections
To terminate a user’s connection to the system, issue the removeuserconn <ID> <user_name>
<IP_address> command, where:
<ID> is the user’s numeric ID.
<user_name> is the user’s assigned name.
<IP_address> is the user’s IP address.
See the HP 3PAR Command Line Interface Reference for details about this command.
Configuring LDAP Connections
The HP 3PAR OS provides an LDAP client that can be configured to use an LDAP server for
authentication and authorization of system users. An LDAP user is similar to a local user; however,
an LDAP user is authenticated and authorized using information from an LDAP server. Additionally,
LDAP users’ rights within the system are tied to the groups to which the users belong.
Setting a User’s Current Domain 21