The display user command displays attributes of all the users or a specified user under the VPN database view.
| Parameter | Description | Value |
|---|---|---|
| user-name | Specifies the viewed user name. | The value is a string of case-sensitive characters.If the login name does not contain any space, its length ranges from 1 to 128 case-sensitive characters. If the login name contains spaces, its length ranges from 3 to 130, and you must enclose the name with double quotation marks ("), for example, "user for test". The name cannot start or end with any spaces. When a user in a non-default authentication domain is specified, the user name must carry "@authentication-domain-name." For example, user1@test indicates user1 in the test authentication domain. |
| role | Display the role that the user belongs to. | - |
# Display the attributes of user aa.
<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] vpndb
[sysname-gateway-vpndb] display user aa
VG User: aa information
---------------------
User Name: aa
Belong to VG: gateway
User UID: 65534
User GID: 65534
Virtual IP: 10.1.1.4
Max Login Number: 8
----End
| Item | Description |
|---|---|
| VG User | Virtual gateway user. It displays information about the specified virtual gateway user. |
| User Name | User name. |
| Belong to Gateway | Virtual gateway the user belongs to. |
| User UID | User ID. |
| User GID | Group ID. |
| Virtual IP | Virtual IP address assigned for using network extended services by the user. |
| Max Login Number | Maximum number of concurrent logins supported by this user account of the virtual gateway. |
# Display the attributes of the VPN database users.
<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] vpndb
[sysname-gateway-vpndb] display user
VG User Lists
------------
No. UserName UID GID VirtualIP
------------------------------------------------------------------------------
1 aa 65534 65534 10.1.1.4
------------------------------------------------------------------------------
----End
| Item | Description |
|---|---|
| VG User Lists | Information list of virtual gateway users. |
| No. | Sequence number. |
| UserName | User name. |
| UID | User ID. |
| GID | Group ID. |
| VirtualIP | Virtual IP address assigned for the user to use network extended services. |