Accepts a username to get information about a user.
public User profile_getUserByName( String accessToken, String userName, boolean includeAttachments );
The profile_getUserByName operation accepts a username as a parameter and returns information about a Teaming user.
Either the security token passed to your application by Teaming as part of implementing a remote application, or the null value.
A string containing the username of the user for whom you want information.
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.
A User Java object containing information about the requested user.
Java objects in the Teaming sources (see Section 1.7.1, Working with Java Objects)