Go to main content

Oracle® ZFS Storage Appliance RESTful API 설명서, 릴리스 OS8.8.x

인쇄 보기 종료

업데이트 날짜: 2021년 8월
 
 

사용자 나열

다음 예에서 root 사용자는 이 어플라이언스에 대해 로컬이며 user1 사용자는 LDAP, NIS 또는 AD 사용자입니다. directory 유형 사용자의 경우 사용자 ID, 전체 이름 및 암호는 디렉토리 서비스에서 가져온 것이며 암호 등록 정보가 나열되지 않습니다. Understanding Users and Roles in Oracle ZFS Storage Appliance Administration Guide, 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"
    }]
}