public class BoxUser extends BoxTypedObject
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_ADDRESS |
static String |
FIELD_AVATAR_URL |
static String |
FIELD_CAN_SEE_MANAGED_USERS
Whether this user can see other enterprise users in its contact list
|
static String |
FIELD_ENTERPRISE
Mini representation of this user's enterprise, including the ID of its enterprise
|
static String |
FIELD_EXEMPT_FROM_DEVICE_LIMITS |
static String |
FIELD_EXEMPT_FROM_LOGIN_VERIFICATION |
static String |
FIELD_IS_EXEMPT_FROM_DEVICE_LIMITS
Whether or not this user must use two-factor authentication
|
static String |
FIELD_IS_EXEMPT_FROM_LOGIN_VERIFICATION
Whether or not this user must use two-factor authentication
|
static String |
FIELD_IS_SYNC_ENABLED
Whether to exempt this user from Enterprise device limits
|
static String |
FIELD_JOB_TITLE |
static String |
FIELD_LANGUAGE |
static String |
FIELD_LOGIN |
static String |
FIELD_MAX_UPLOAD_SIZE |
static String |
FIELD_MY_TAGS |
static String |
FIELD_NAME |
static String |
FIELD_PHONE |
static String |
FIELD_ROLE
The user's enterprise role.
|
static String |
FIELD_SPACE_AMOUNT |
static String |
FIELD_SPACE_USED |
static String |
FIELD_STATUS |
static String |
FIELD_TRACKING_CODES
An array of key/value pairs set by the user's admin
|
static String |
ROLE_ADMIN
Used when the user's enterprise role is admin.
|
static String |
ROLE_COADMIN
Used when the user's enterprise role is co-admin.
|
static String |
ROLE_USER
Used when the user's enterprise role is normal user.
|
static String |
STATUS_ACTIVE
Used when user status is active
|
static String |
STATUS_INACTIVE
Used when user status is inactive
|
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE
Constructor and Description |
---|
BoxUser()
Constructor.
|
BoxUser(BoxUser obj)
Copy constructor, this does deep copy for all the fields.
|
BoxUser(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
canSeeManagedUsers()
Whether or not the user can see other enterprise users in the contact list.
|
String |
getAddress()
Get the user's address.
|
String |
getAvatarUrl()
get the URL for this user's avatar image.
|
BoxEnterprise |
getEnterprise()
Get the enterprise this user belongs to if available, null otherwise.
|
String |
getJobTitle()
Get the user's job title.
|
String |
getLanguage()
Get the language of this user.
|
String |
getLogin()
Get the email address this user uses to login
|
Double |
getMaxUploadSize()
Get the maximum individual file size in bytes this user can have
|
String[] |
getMyTags()
Get set of all tags on items that are visible by this user.
|
String |
getName()
Get name of this user.
|
String |
getPhone()
Get the user's phone number.
|
String |
getRole()
Get the user's enterprise role.
|
Double |
getSpaceAmount()
Get the user's total available space amount in bytes.
|
Double |
getSpaceUsed()
Get the amount of space in use by the user.
|
String |
getStatus()
Get status of the user.
|
Map<String,String> |
getTrackingCodes()
Get the tracking codes.
|
Boolean |
isExemptFromDeviceLimits()
Whether to exempt this user from Enterprise device limits.
|
Boolean |
isExemptFromLoginVerification()
Whether or not this user must use two-factor authentication.
|
Boolean |
isSyncEnabled()
Whether or not this user can use Box Sync.
|
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setType
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public static final String ROLE_ADMIN
public static final String ROLE_COADMIN
public static final String ROLE_USER
public static final String STATUS_ACTIVE
public static final String STATUS_INACTIVE
public static final String FIELD_ROLE
public static final String FIELD_TRACKING_CODES
public static final String FIELD_CAN_SEE_MANAGED_USERS
public static final String FIELD_IS_SYNC_ENABLED
public static final String FIELD_IS_EXEMPT_FROM_DEVICE_LIMITS
public static final String FIELD_IS_EXEMPT_FROM_LOGIN_VERIFICATION
public static final String FIELD_ENTERPRISE
public static final String FIELD_NAME
public static final String FIELD_LOGIN
public static final String FIELD_LANGUAGE
public static final String FIELD_SPACE_AMOUNT
public static final String FIELD_SPACE_USED
public static final String FIELD_MAX_UPLOAD_SIZE
public static final String FIELD_STATUS
public static final String FIELD_JOB_TITLE
public static final String FIELD_PHONE
public static final String FIELD_ADDRESS
public static final String FIELD_AVATAR_URL
public static final String FIELD_EXEMPT_FROM_DEVICE_LIMITS
public static final String FIELD_EXEMPT_FROM_LOGIN_VERIFICATION
public static final String FIELD_MY_TAGS
public BoxUser()
public BoxUser(BoxUser obj)
obj
- public String getName()
public String getLogin()
public String getRole()
public String getLanguage()
public Double getSpaceAmount()
public Double getSpaceUsed()
public Double getMaxUploadSize()
public Map<String,String> getTrackingCodes()
public Boolean canSeeManagedUsers()
public Boolean isSyncEnabled()
public String getStatus()
STATUS_ACTIVE
or STATUS_INACTIVE
public String getJobTitle()
public String getPhone()
public String getAddress()
public String getAvatarUrl()
public Boolean isExemptFromDeviceLimits()
public Boolean isExemptFromLoginVerification()
public BoxEnterprise getEnterprise()
public String[] getMyTags()
Copyright © 2015 Nuxeo SA. All rights reserved.