Newer Version Available

This content describes an older version of this product. View Latest

User Profile Information

Information about the context or specified user's Chatter profile.

Resource
1/chatter/users/me
or
1/chatter/users/userId
Available version
23.0
PATCH available in 29.0
Requires Chatter
Yes
HTTP methods
GET, HEAD, PATCH
Request body for PATCH
Root XML tag
<user>
Properties
Name Type Description Available Version
aboutMe String The aboutMe property of a User Detail response body. The maximum length is 1000 characters. This property populates the “About Me” section of the user profile, which is visible to all members of a community or an organization. 29.0
JSON example
1swfobject.registerObject("clippy.codeblock-2", "9");{
2   "aboutMe": "Staff Technical Writer responsible for the Connect API and Connect in Apex documentation."
3}
4
Request parameters for PATCH
Name Type Description Available Version
aboutMe String The aboutMe property of a User Detail response body. The maximum length is 1000 characters. This property populates the “About Me” section of the user profile, which is visible to all members of a community or an organization. 29.0
Response body for GET and HEAD
  • User Summary—If the user is an external user or a portal user, or if the version is 25.0 or earlier.
  • User Detail—If the user is an internal user (including the context user) and the version is greater than 25.0.
Response body for PATCH
User Detail
Example request parameters for PATCH
This example uses a parameter to update the aboutMe property. In the UI, this property populates the “About Me” section in the user profile.
1/chatter/users/me?aboutMe=Staff+Technical+Writer+at+Seattle+Apps
Example request body for PATCH
This example uses a request body to update the aboutMe property.
1/chatter/users/me

Request body:

1{
2   "aboutMe": "Staff Technical Writer at Seattle Apps"
3}
Example response body for 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/v32.0/chatter/users/005D0000001LL8OIAW/photo"
59   },
60   "thanksReceived": null,
61   "title": null,
62   "type": "User",
63   "url": "/services/data/v32.0/chatter/users/005D0000001Kl6xIAC",
64   "userType": "Internal",
65   "username": "mraven@seattleapps.com"
66}