public class BoxUser extends BoxCollaborator
Modifier and Type | Class and Description |
---|---|
class |
BoxUser.Info
Contains information about a BoxUser.
|
static class |
BoxUser.Role
Enumerates the possible roles that a user can have within an enterprise.
|
static class |
BoxUser.Status
Enumerates the possible statuses that a user's account can have.
|
Constructor and Description |
---|
BoxUser(BoxAPIConnection api,
String id)
Constructs a BoxUser for a user with a given ID.
|
Modifier and Type | Method and Description |
---|---|
static BoxUser |
getCurrentUser(BoxAPIConnection api)
Gets the current user.
|
BoxUser.Info |
getInfo()
Gets information about this user.
|
equals, getAPI, getID, hashCode
public BoxUser(BoxAPIConnection api, String id)
api
- the API connection to be used by the user.id
- the ID of the user.public static BoxUser getCurrentUser(BoxAPIConnection api)
api
- the API connection of the current user.public BoxUser.Info getInfo()