この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

User Profile Information

コンテキストユーザまたは指定されたユーザの Chatter プロファイルに関する情報。

リソース
1/chatter/users/userId
1/connect/communities/communityId/chatter/users/userId
使用可能なバージョン
23.0
PATCH は 29.0 で使用可能
Chatter が必要かどうか
はい
HTTP メソッド
GET、HEAD、PATCH
PATCH のリクエストボディ
ルート XML タグ
<user>
プロパティ
名前 説明 使用可能なバージョン
aboutMe String User Detail レスポンスボディの aboutMe プロパティ。最大文字数は 1000 文字です。このプロパティが、コミュニティまたは組織のすべてのメンバーに表示されるユーザプロファイルの [自己紹介] セクションに入力されます。 29.0
JSON の例
1swfobject.registerObject("clippy.codeblock-2", "9");{
2   "aboutMe": "Staff Technical Writer responsible for the Connect API and Connect in Apex documentation."
3}
4
PATCH の要求パラメータ
名前 説明 使用可能なバージョン
aboutMe String User Detail レスポンスボディの aboutMe プロパティ。最大文字数は 1000 文字です。このプロパティが、コミュニティまたは組織のすべてのメンバーに表示されるユーザプロファイルの [自己紹介] セクションに入力されます。 29.0
GET および HEAD のレスポンスボディ
  • User Summary — ユーザが外部ユーザやポータルユーザの場合、またはバージョンが 25.0 以前の場合。
  • User Detail — ユーザが内部ユーザ (コンテキストユーザを含む) でバージョンが 25.0 より後の場合。
PATCH のレスポンスボディ
User Detail
PATCH の要求パラメータの例
この例では、パラメータを使用して aboutMe プロパティを更新します。UI では、このプロパティがユーザプロファイルの [自己紹介] セクションに入力されます。
1/chatter/users/me?aboutMe=Staff+Technical+Writer+at+Seattle+Apps
PATCH のリクエストボディの例
この例では、リクエストボディを使用して aboutMe プロパティを更新します。
1/chatter/users/me

リクエストボディ:

1{
2   "aboutMe": "Staff Technical Writer at Seattle Apps"
3}
PATCH のレスポンスボディの例
1{
2   "aboutMe": "Staff Technical Writer at Seattle Apps",
3
4   "address": {
5      "city": "Seattle",
6      "country": "US",
7      "formattedAdress": "2001 8th Ave\nSeattle, WA 98121\nUS"
8      "state": "WA",
9      "street": "2001 8th Ave",
10      "zip": "98121"
11   },
12   "chatterActivity": {
13      "commentCount": 0,
14      "commentReceivedCount": 1,
15      "likeReceivedCount": 0,
16      "postCount": 4
17   },
18   "chatterInfluence": {
19      "percentile": "0.5",
20      "rank": 1
21   },
22   "companyName": "Seattle Apps",
23   "email": "mraven@seattleapps.com",
24   "firstName": "Marion",
25   "followersCount": 1,
26   "followingCounts": {
27      "people": 5,
28      "records": 2,
29      "total": 7
30   },
31   "groupCount": 3,
32   "id": "005D0000001Kl6xIAC",
33   "isActive": true,
34   "isInThisCommunity": true,
35   "lastName": "Raven",
36   "managerId": "000000000000000AAA",
37   "managerName": null,
38   "motif": {
39      "color": "1797C0",
40      "largeIconUrl": "/img/icon/profile64.png",
41      "mediumIconUrl": "/img/icon/profile32.png",
42      "smallIconUrl": "/img/icon/profile16.png"
43   },
44   "mySubscription": null,
45   "name": "Marion Raven",
46   "phoneNumbers": [{
47      "phoneNumber": "(206) 999-2846",
48      "type": "Work"
49   }],
50   "photo": {
51      "fullEmailPhotoUrl": "https://instance_name/ncsphoto/
52SqRfG_-PUTY6KtfOp_f0cEw-MQI3xmkJ21oNEOQ-5sZVyX4qlsJTXfOWM77RW7yt",
53      "largePhotoUrl": "https://instance_name/profilephoto/729D00000000BDV/F",
54      "photoVersionId": "729D00000000BDV",
55      "smallPhotoUrl": "https://instance_name/profilephoto/729D00000000BDV/T",
56      "standardEmailPhotoUrl": "https://instance_name/ncsphoto/
57SqRfG_-PUTY6KtfOp_f0cEw-MQI3xmkJ21oNEOQ-5sbktFTIf9vWhFTTALJiaFz_",
58      "url": "/services/data/v33.0/chatter/users/005D0000001LL8OIAW/photo"
59   },
60   "thanksReceived": null,
61   "title": null,
62   "type": "User",
63   "url": "/services/data/v33.0/chatter/users/005D0000001Kl6xIAC",
64   "userType": "Internal",
65   "username": "mraven@seattleapps.com"
66}