Go to main content

Oracle® ZFS Storage Appliance RESTful API ガイド、Release OS8.8.x

印刷ビューの終了

更新: 2021 年 8 月
 
 

特定のユーザーの一覧表示

特定のユーザーに関する情報には、ユーザー設定および承認の例外が含まれます。この例では、user1auth-000 という名前の承認例外があります。これは user1 にアラートを構成して送信する機能を付与します。user1 の設定はすべてデフォルト値です。

リクエストの例:

GET /api/user/v1/users/user1 HTTP/1.1

結果例:

{
    "user": {
        "href": "/api/user/v2/users/user1",
        "logname": "user1",
        "type": "directory",
        "uid": user1uid,
        "fullname": "Real Name",
        "require_annotation": false,
        "roles": ["basic"],
        "kiosk_mode": false,
        "kiosk_screen": "status/dashboard",
        "exceptions": [
            "scope": "alert",
            "allow_configure": true,
            "allow_post": true,
            "href": "/api/user/v2/users/user1/exceptions/auth-000"
        ],
        "preferences": {
            "href": "/api/user/v2/users/user1/preferences",
            "locale": "C",
            "login_screen": "status/dashboard",
            "session_timeout": 15,
            "cli_idle_timeout": -1,
            "advanced_analytics": false,
            "keys": [],
            "tokens": []
        }
    }
}