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

Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.

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 domain user

show domain user

Function

The show domain user command is used to query information about LDAP/NIS users.

Format

show domain user name=? domain_type=? [ group_name=? ]

Parameters

Parameter

Description

Value

name Domain user name.

The value contains 1 to 256 characters.

domain_type Domain controller type.

Queries domain users of a specified type. The value can be "LDAP" and "NIS", where:

  • "LDAP": queries information about LDAP domain users.
  • "NIS": queries information about NIS domain users.
group_name Name of a domain user group.

The value contains 1 to 256 characters.

Views

Developer view, vstore developer view

Usage Guidelines

None

Example

  • Query information about the domain user of a specified name.

    admin:/>show domain user name=user1 domain_type=LDAP
    Domain Type : LDAP
    User Name : user1
    User ID : 100006
    Group Name : Administrators(primary)
    Group ID : 9999
    Other Groups :10000 10001
  • Query whether the domain user of a specified name belongs to the user group of a specified name.

    admin:/>show domain user name=user1 domain_type=LDAP group_name=admin_group
    Domain Type : LDAP
    User Name : user1
    User ID : 100006
    Group Name : admin_group
    Group ID : 10000
    Other Groups : --

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Domain Type

Domain controller type.

User Name

Domain user name.

User ID

Domain user ID.

Group Name

Name of a domain user group.

Group ID

ID of a domain user group.

Other Groups

Group ID list.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 748918

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next