---
title: "ユーザー"
slug: "user-1523369"
abstract: ""
---
# ユーザー

システム内の各ユーザーはユーザーリソースで表現されます。このリソースを使ってユーザーの状態を取得することができます。

サポートされている手法は以下の通りです: **GET**、**HEAD**。

## GET /api/users/id

ユーザーの状態を含む [ユーザーオブジェクト](https://doc.sitecore.com/ch/ja/developers/cloud-dev/user.html "User") を返します。

例行要請:

GET http://<hostname>/api/users/196
Host: hostname
Accept: application/json

回答例:

HTTP/1.1 200 OK
Content-Length: content length
Content-Type: application/json; charset=utf-8
ETag: "hash string"

{
 "id": 196,
 "properties": {
 "Username": "M.Builtin.Creator",
 "Email": null,
 "Token": null,
 "FullName": null
 },
 "relations": {
 "UserGroupToUser": {
 "href": "http://m.local/api/entities/196/relations/UserGroupToUser"
 },
 "UserToUserAgreement": {
 "href": "http://m.local/api/entities/196/relations/UserToUserAgreement"
 },
 "UserToSavedSearch": {
 "href": "http://m.local/api/entities/196/relations/UserToSavedSearch"
 },
 "myuploads": {
 "href": "http://m.local/api/entities/196/relations/myuploads"
 },
 "AssetSelectionToUser": {
 "href": "http://m.local/api/entities/196/relations/AssetSelectionToUser"
 }
 },
 "created\_by": {
 "href": "http://m.local/api/users/3",
 "title": "The user who created the entity"
 },
 "created\_on": "2014-03-23T13:\`47:37\`.4501099Z",
 "modified\_by": {
 "href": "http://m.local/api/users/3",
 "title": "The user who last modified the entity"
 },
 "modified\_on": "2014-03-23T13:\`47:37\`.4501099Z",
 "entitydefinition": {
 "href": "http://m.local/api/entitydefinitions/User",
 "title": "The entity definition for this entity"
 },
 "copy": {
 "href": "http://m.local/api/users/196/copy",
 "title": "Copy this entity"
 },
 "permissions": {
 "href": "http://m.local/api/users/196/permissions",
 "title": "The permissions on this entity"
 },
 "lifecycle": {
 "href": "http://m.local/api/users/196/lifecycle",
 "title": "The lifecycle action for this entity."
 },
 "policy": {
 "href": "http://m.local/api/users/196/policy",
 "title": "The policy that applies to this user."
 },
 "self": {
 "href": "http://m.local/api/users/196",
 "title": "This entity"
 }
}