Oracle® ZFS Storage Appliance RESTful API 설명서, 릴리스 2013.1.5.0

인쇄 보기 종료

업데이트 날짜: 2016년 2월
 
 

사용자 나열

각 사용자에는 다음과 같은 사용 가능한 요약 등록 정보가 있습니다.

표 104  사용자 등록 정보
유형
등록 정보 이름
설명
string
logname
사용자 이름(만든 후 변경할 수 없음)
string
fullname
전체 이름
string
initial_password
암호
boolean
require_annotation
세션 주석 필요 플래그
string
roles
이 사용자의 역할
boolean
kiosk_mode
키오스크 사용자
string
kiosk_screen
키오스크 화면

요청 예:

GET /api/user/v1/users HTTP/1.1
Authorization: Basic abcefgMWE=
Host: zfssa.example.com:215
Accept: application/json

응답 예:

HTTP/1.1 200 OK
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 394

{
    "users": [{
        "fullname": "Joe Admin",
        "href": "/api/user/v1/users/joe",
        ...
    }, {
        "fullname": "Super-User",
        "href": "/api/user/v1/users/root",
        ...
    }]
}