profile_getUser

Accepts a user identifier to get information about a user.

Syntax

public User profile_getUser( String accessToken, long userId, boolean includeAttachments );

Description

The profile_getUser operation accepts a user identifier and returns information about a Vibe user.

Parameters and Return Value

accessToken

Either the security token passed to your application by Vibe as part of implementing a remote application, or the null value.

userId

The identifier of the user about whom you want information.

includeAttachments

A Boolean value that specifies whether Vibe should return attachments to the user’s profile.

By default, the only attached files are the users’ pictures. However, the site administrator can customize the profile to include other files by using the designer tools in the UI.

return_value

A User Java object that contains information about the requested user.

See Also