No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show user

show user

Function

The show user command is used to query basic user information.

Format

show user [ user_name=? ]

Parameters

Parameter

Description

Value

user_name=? Name of the user that you want to query.

To obtain the value, run "show user" without parameters. Spaces contained in the user name are expressed in "\s".

Level

Guest

Usage Guidelines

  • The super administrator can query all users' basic information, whereas an administrator or read-only user can query its own basic information only.
  • You can run the "show user" command to query basic information about all users.
  • You can run the "show user user_name=?" command to query basic information about a specific user.

Example

  • Querying basic information about all users.

    admin:/>show user
    Name      Level        Status   Type                     Lock Status  Create Time                    Domain User Group  Account Status  Role ID  
      --------  -----------  -------  -----------------------  -----------  -----------------------------  -----------------  --------------  -------  
      admin     Super_admin  Online   Local                    Unlocked     2016-11-08/10:15:54 UTC+08:00  --                 Normal          --       
      mm_user   Admin        Online   Machine to Machine User  Unlocked     2016-11-08/10:15:56 UTC+08:00  --                 Normal          --       
      backup    Guest        Offline  Local                    Unlocked     2016-11-08/10:43:46 UTC+08:00  --                 Normal          9
  • Querying basic information about user "admin".

    admin:/>show user user_name=admin
    Name   Level        Status  Type   Lock Status  Create Time                    Domain User Group  Account Status  Role ID  
      -----  -----------  ------  -----  -----------  -----------------------------  -----------------  --------------  -------  
      admin  Super_admin  Online  Local  Unlocked     2016-11-08/10:15:54 UTC+08:00  --                 Normal          --       

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Name

User name.

Level

User level.

Status

Whether the user has logged in.

Type

User type.

Lock Status

Whether the user is locked.

Create Time

Time when the user was created.

Domain User Group

Domain user group the user belongs to.

NOTE:
This parameter is currently valid for LDAP users only.

Account Status

User account status.

Role ID

User role ID.

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 317529

Downloads: 253

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next