Go to main content

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

印刷ビューの終了

更新: 2021 年 8 月
 
 

ユーザーの一覧表示

次の例では、root ユーザーはこのアプライアンスのローカルであり、user1 ユーザーは、LDAP、NIS、または AD ユーザーです。directory タイプのユーザーの場合、ユーザー ID、フルネーム、およびパスワードはディレクトリサービスから取得され、パスワードのプロパティーは一覧表示されません。ユーザータイプの詳細は、Oracle ZFS Storage Appliance 管理ガイド、Release OS8.8.x の ユーザーとロールについてを参照してください。

リクエストの例:

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

結果例:

{
    "users": [
    {
        "logname": "root",
        "type": "local",
        "uid": 0,
        "fullname": "Super-User",
        "initial_password": true,
        "require_annotation": false,
        "href": "/api/user/v2/users/root"
    },{
        "logname": "user1",
        "type": "directory",
        "uid": user1uid,
        "fullname": "Real Name",
        "require_annotation": false,
        "roles": ["basic"],
        "kiosk_mode": false,
        "kiosk_screen": "status/dashboard",
        "href": "/api/user/v2/users/user1"
    }]
}