profile_getUserByName

Accepts a username to get information about a user.

Syntax

public User profile_getUserByName( String accessToken, String userName, boolean includeAttachments );

Description

The profile_getUserByName operation accepts a username as a parameter and returns information about a Teaming user.

Parameters and Return Value

accessToken

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

userName

A string containing the username of the user for whom you want information.

includeAttachments

A Boolean value that indicates whether Teaming should return attached files.

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 containing information about the requested user.

See Also