lsuser

Use the lsuser command to display a list of the users that have been created on the cluster.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svcinfo -- -- lsuser -- --+----------+-- ------------------->
                              '- -nohdr -'      

>--+-----------------------+-- --------------------------------->
   '- -delim -- delimiter -'      

>--+-----------------------------------+--+-----------------+--->
   '- -filtervalue -- attribute=value -'  '- -filtervalue? -'   

>-- --+------------------+-------------------------------------><
      '- userid_or_name -'   

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
Note: Some filters allow the use of a wildcard when you enter the command. The following rules apply to the use of wildcards with the SAN Volume Controller CLI:
  • The wildcard character is the asterisk (*), which must be used as the first or last character in the string.
  • The command can contain a maximum of one wildcard.
  • When you use a wildcard, enclose the filter entry within double quotation marks (""), as follows:
    svcinfo lsuser -filtervalue "usergrp_name=md*"
-filtervalue?
(Optional) Displays the valid filter attributes for the -filtervalue attribute=value parameter:
  • password
  • ssh_key
  • remote
  • usergrp_id
  • usergrp_name
userid_or_name
(Optional) Specifies the ID or name of the user for which the association is being deleted. If this is specified, the detailed view for the specified user is displayed in the ouput. If you do not specify an ID or name, the concise view is displayed.

Description

This command displays a list of users that have been created on the cluster.

An invocation example

svcinfo lsuser

The resulting output

id   name        password   ssh_key   remote   usergrp_id   usergrp_name      
0    superuser   yes        no        no       0            SecurityAdmin
1    simon       no         yes       no       2            CopyOperator      
2    jane        yes        no        no       3            Service           
3    kip         yes        yes       yes                                             
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.