Retrieve a profile entry 

To retrieve a profile entry document, use the web address found in the entry's edit link in the profile service document. You can only retrieve the profile entry for the user whose credentials you use to authenticate the request. In other words, you can only retrieve your own profile entry document or someone else's if that person provides you with his authentication credentials.

You can use this operation to obtain profile entry information that you want to preserve prior to performing an update. See Update profile entries for more information. This method returns the Atom entry of a single profile as opposed to a feed of a profile or set of profiles.

Tip: If you want to edit the value of fields in a person's profile, get the rel="edit" link for a specific person's profile. To do so, retrieve a feed of the profile and specify the output=vcard parameter on the request. See Search a user's profile for more details.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Output representation
GET profile Value of the href attribute of the <link> element with the rel="edit" attribute in the user's profile feed. profile


Input

None.


Output

An Atom entry document containing the profile entry.

Returned HTTP headers

HTTP/1.1 200 OK

Content-Type: application/atom+xml

Errors


Parent topic

Work with profiles

Related reference
Update profile entries
Search for a user's profile


   

 

});

+

Search Tips   |   Advanced Search