*查看用户列表
            
        
    
    
    
            
            请求信息
请求行
GET /auth/v2/users
返回信息
Content-Type 
                application/json
状态码: 200
OK
返回体示例
用户列表。
{
   "items": [
     {
       "apiVersion": "auth.alauda.io/v1",
       "kind": "User",
       "metadata": {
         "annotations": {
           "alauda.io/display-name": "user03@alauda.io",
           "projectmembers/creationTimestamp": "2019-06-20 10:04:56 +0800 CST"
         },
         "creationTimestamp": "2019-06-15T08:20:19Z",
         "labels": {
           "auth.alauda.io/user.connector_type": "oidc",
           "auth.alauda.io/user.email": "cbf974556d481e52fdd20908bf88413a",
           "auth.alauda.io/user.status": "active",
           "auth.alauda.io/user.username": "Y5Tr"
         },
         "name": "cbf974556d481e52fdd20908bf88413a",
         "resourceVersion": "7139679",
         "selfLink": "/apis/auth.alauda.io/v1/user03.alauda.io",
         "uid": "69e74d4c-8f46-11e9-8285-fe253f3d19ac"
       },
       "spec": {
         "connector_name": "keycloak",
         "connector_type": "oidc",
         "email": "user03@alauda.io",
         "expired": {
           "begin": "2020-12-08T09:47:56Z",
           "end": "2020-12-08T09:47:56Z"
         },
         "groups": [
           "dev"
         ],
         "is_admin": false,
         "is_disabled": false,
         "last_login_time": "2020-12-08T09:47:56Z",
         "login_failture_times": 0,
         "status": "active",
         "username": "User03"
       },
       "status": {}
     }
   ],
   "kind": "UserList",
   "metadata": {},
   "total": 20
 }返回体说明
| 名称 | 类型 | 描述 | 
|---|---|---|
| items | array | 字段路径:items | 
| items[] | object | 用户的定义信息。 字段路径:items[] | 
| items[].apiVersion | string | 查看公共参数 | 
| items[].kind | string | 查看公共参数 | 
| items[].metadata | object | 查看公共参数 | 
| items[].spec | object | 用户的描述。 字段路径:items[].spec | 
| spec.connector_name | string | 连接器(Connectors)名称。 字段路径:items[].spec.connector_name | 
| spec.connector_type | string | 连接器(Connectors)类型。 字段路径:items[].spec.connector_type | 
| spec.email | string | 邮箱地址。 字段路径:items[].spec.email | 
| spec.expired | object | 配置账号的有效期。 字段路径:items[].spec.expired | 
| expired.begin | string | 账号有效期的开始时间。 字段路径:items[].spec.expired.begin | 
| expired.end | string | 账号有效期的截止时间。 字段路径:items[].spec.expired.end | 
| spec.groups | array | 用户组。 字段路径:items[].spec.groups | 
| spec.groups[] | string | 用户组。 字段路径:items[].spec.groups[] | 
| spec.is_admin | boolean | 检查用户是否是管理员。 字段路径:items[].spec.is_admin | 
| spec.username | string | 用户名。 字段路径:items[].spec.username | 
| kind | string | 查看公共参数 | 
| metadata | object | 查看公共参数 |