lsusermap

Lists the UNIX® and Windows® user mappings. A user mapping makes a user name on Windows and a user name on UNIX equivalent for file access purposes.

Read syntax diagramSkip visual syntax diagram
>>-lsusermap--+--------+--+-----------------------------+------->
              +- -?----+  |        .-default----------. |
              +- -h----+  '- -fmt--+-delim--character-+-'
              '- -help-'           '-xml--------------'

>--+--------------+--+----------------+--+-------------+-------->
   |      .-off-. |  |        .-on--. |  '- -r--number-'
   '- -p--+-on--+-'  '- -hdr--+-off-+-'

>--+--------------+--+-------------+---------------------------><
   |      .-off-. |  '-user@domain-'
   '- -v--+-on--+-'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–fmt
Specifies the format of the output. You can specify one of the following values:
default
Specify this value to display output in a tabular format using spaces as the delimiter between the columns. This is the default value.
delim character
Specify this value to display output in a tabular format using the specified character to separate the columns. If you use a shell metacharacter (for example, * or \t) as the delimiting character, enclose the character in single quotation marks (') or double quotation marks ("). A blank space is not a valid character.
xml
Specify this value to display output using XML format.
–p
Specifies whether to display one page of text at a time or all text at once.
off
Displays all text at one time. This is the default value when the sfscli command is run in single-shot mode.
on
Displays one page of text at time. Pressing any key displays the next page. This is the default value when the sfscli command is run in interactive mode.
–hdr
Specifies whether to display the table header.
on
Displays the table header. This is the default value.
off
Does not display the table header.
–r number
Specifies the number of rows per page to display when the –p parameter is on. The default is 24 rows. You can specify a value from 1 to 100.
–v
Specifies whether to enable verbose mode.
off
Disables verbose mode. This is the default value.
on
Enables verbose mode.
user@domain
Specifies the user and domain for which you want to list the user mapping. If you do not specify this parameter, this command lists all user mappings.

Prerequisites

You must be logged in to the operating system on the engine hosting the master metadata server to run this command.

Description

If you do not specify a user, this command displays all user mappings.

This command does not show group membership. To see that information, use the appropriate Network Information Services (NIS) and Active Directory tools for your environment.

Example

List user mappings The following example lists all the user mappings:
sfscli> lsusermap
Unix User	Windows User
==========================
user1	      USERONE
user2	      USERTWO

Parent topic: Administrative commands

Related tasks
Listing user maps

Related reference
lsdomain
mkdomain
mkusermap
refreshusermap
rmdomain
rmusermap

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2