Obtaining detailed information about users

Virtual Storage Platform One SDS Block Virtual Private Storage Administrator Guide

Version
1.15.x
Audience
anonymous
Part Number
MK-24VSP1SDS003-02

The following information about the registered users can be obtained.

  • userId: User ID

  • userObjectId: User object ID

  • passwordExpirationTime: Expiration time of the password

  • isEnabled: Whether the user is valid

  • userGroups: List of IDs of user groups that the user belongs to (user group IDs and the object ID of each user group)

  • isBuiltIn: Whether the user is a built-in user

  • authentication: Authentication type

  • roleNames: Role of the user group

  • isEnabledConsoleLogin:

    (Virtual machine) null

    (Bare metal)(Cloud) Whether the console interface can be used

  • vpsId: ID of the VPS to which the user belongs

  • privileges: List of the VPS information that the user can access

  • Role required to obtain detailed information about a user: VpsSecurity

    Role-based execution is not subject to restriction for obtaining the user information about yourself.

  1. Verify the user ID.

    REST API: GET /v1/objects/users

    CLI: user_list

  2. Obtain detailed information about users.

    Run either of the following commands with the user ID specified.

    REST API: GET /v1/objects/users/<userId>

    CLI: user_show