Class Overview
The users endpoint is used for managing a user and its content.
For an individual user, this includes their own user information and content.
For an enterprise admin, this includes both the individual user and any other users in the admin’s enterprise account.
In many entities such as folder and file, there're references to this class. In those scenarios Box will
only send reduced versions of this class in which most fields will be null.
The following attributes are not provided by default and need to be specifically requested through a fields parameter:
trackingCodes,
canSeeManagedUsers,
isSyncEnabled
isExemptFromDeviceLimits
isExemptFromLoginVerification
enterprise
Summary
| Fields |
|
private
String |
address |
The user’s address
|
|
private
String |
avatarUrl |
URL of this user’s avatar image
|
|
private
Boolean |
canSeeManagedUsers |
Whether this user can see other enterprise users in its contact list
|
|
private
String |
createdAt |
The time this user was created
|
|
private
Entity |
enterprise |
representation of this user’s enterprise, including the ID of its enterprise
|
|
private
Boolean |
isExemptFromDeviceLimits |
Whether to exempt this user from Enterprise device limits
|
|
private
Boolean |
isExemptFromLoginVerification |
Whether or not this user must use two-factor authentication
|
|
private
Boolean |
isSyncEnabled |
Whether or not this user can use Box Sync
|
|
private
String |
jobTitle |
The user’s job title
|
|
private
String |
language |
The language of this user
|
|
private
String |
login |
The email address this user uses to login
|
|
private
Long |
maxUploadSize |
The maximum individual file size in bytes this user can have
|
|
private
String |
modifiedAt |
The time this user was last modified
|
|
private
Role |
role |
This user’s enterprise role. |
|
private
Long |
spaceAmount |
The user’s total available space amount in bytes
|
|
private
Long |
spaceUsed |
The amount of space in use by the user
|
|
private
UserStatus |
status |
Can be active or inactive
|
|
[Expand]
Inherited Fields |
From class
org.mule.modules.box.model.Entity
|
private
String |
etag |
A unique string identifying the version of this folder
|
|
private
String |
id |
the id of the item
|
|
private
String |
name |
The name of the item
|
|
private
String |
sequenceId |
A unique ID for use with the /events endpoint
|
|
private
String |
type |
string representing the item's type
|
|
| Public Constructors |
|
|
User()
|
|
[Expand]
Inherited Methods |
From class
org.mule.modules.box.model.Entity
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
-5483075221771438061
(0xb3e83422e9913813)
Fields
private
String
avatarUrl
URL of this user’s avatar image
private
Boolean
canSeeManagedUsers
Whether this user can see other enterprise users in its contact list
private
String
createdAt
The time this user was created
private
Entity
enterprise
representation of this user’s enterprise, including the ID of its enterprise
private
Boolean
isExemptFromDeviceLimits
Whether to exempt this user from Enterprise device limits
private
Boolean
isExemptFromLoginVerification
Whether or not this user must use two-factor authentication
private
Boolean
isSyncEnabled
Whether or not this user can use Box Sync
private
String
language
The language of this user
private
String
login
The email address this user uses to login
private
Long
maxUploadSize
The maximum individual file size in bytes this user can have
private
String
modifiedAt
The time this user was last modified
private
Role
role
This user’s enterprise role.
private
Long
spaceAmount
The user’s total available space amount in bytes
private
Long
spaceUsed
The amount of space in use by the user
Can be active or inactive
Public Constructors
Public Methods
public
String
getAddress
()
public
String
getAvatarUrl
()
public
Boolean
getCanSeeManagedUsers
()
public
String
getCreatedAt
()
public
Entity
getEnterprise
()
public
Boolean
getIsExemptFromDeviceLimits
()
public
Boolean
getIsExemptFromLoginVerification
()
public
Boolean
getIsSyncEnabled
()
public
String
getJobTitle
()
public
String
getLanguage
()
public
String
getLogin
()
public
Long
getMaxUploadSize
()
public
String
getModifiedAt
()
public
Long
getSpaceAmount
()
public
Long
getSpaceUsed
()
public
void
setAddress
(String address)
public
void
setAvatarUrl
(String avatarUrl)
public
void
setCanSeeManagedUsers
(Boolean canSeeManagedUsers)
public
void
setCreatedAt
(String createdAt)
public
void
setEnterprise
(Entity enterprise)
public
void
setIsExemptFromDeviceLimits
(Boolean isExemptFromDeviceLimits)
public
void
setIsExemptFromLoginVerification
(Boolean isExemptFromLoginVerification)
Parameters
| isExemptFromLoginVerification
| |
public
void
setIsSyncEnabled
(Boolean isSyncEnabled)
public
void
setJobTitle
(String jobTitle)
public
void
setLanguage
(String language)
public
void
setLogin
(String login)
public
void
setMaxUploadSize
(Long maxUploadSize)
public
void
setModifiedAt
(String modifiedAt)
public
void
setRole
(Role role)
public
void
setSpaceAmount
(Long spaceAmount)
public
void
setSpaceUsed
(Long spaceUsed)