public class BoxApiUser extends BoxApi
mBaseUploadUri, mBaseUri, mSession| Constructor and Description |
|---|
BoxApiUser(BoxSession session)
Constructs a BoxApiUser with the provided BoxSession
|
| Modifier and Type | Method and Description |
|---|---|
BoxRequestsUser.CreateEnterpriseUser |
getCreateEnterpriseUserRequest(java.lang.String login,
java.lang.String name)
Gets a request that creates an enterprise user
The session provided must be associated with an enterprise admin user
|
BoxRequestsUser.GetUserInfo |
getCurrentUserInfoRequest()
Gets a request that gets information about the current user
|
BoxRequestsUser.DeleteEnterpriseUser |
getDeleteEnterpriseUserRequest(java.lang.String userId)
Gets a request that deletes an enterprise user
The session provided must be associated with an enterprise admin user
|
BoxRequestsUser.GetEnterpriseUsers |
getEnterpriseUsersRequest()
Gets a request that gets all the users of an enterprise
The session provided must be associated with an enterprise admin user
|
BoxRequestsUser.GetUserInfo |
getUserInfoRequest(java.lang.String id)
Gets a request that gets information about a user
|
protected java.lang.String |
getUserInformationUrl(java.lang.String id)
Gets the URL for getting information of the current user
|
protected java.lang.String |
getUsersUrl()
Gets the URL for getting information of the current user
|
getBaseUploadUri, getBaseUripublic BoxApiUser(BoxSession session)
session - authenticated session to use with the BoxApiUserprotected java.lang.String getUsersUrl()
protected java.lang.String getUserInformationUrl(java.lang.String id)
public BoxRequestsUser.GetUserInfo getCurrentUserInfoRequest()
public BoxRequestsUser.GetUserInfo getUserInfoRequest(java.lang.String id)
id - id of the user to get information onpublic BoxRequestsUser.GetEnterpriseUsers getEnterpriseUsersRequest()
public BoxRequestsUser.CreateEnterpriseUser getCreateEnterpriseUserRequest(java.lang.String login, java.lang.String name)
public BoxRequestsUser.DeleteEnterpriseUser getDeleteEnterpriseUserRequest(java.lang.String userId)