public class UserResource extends BaseResource
| Modifier and Type | Field and Description |
|---|---|
static ResourceFactory<UserResource> |
USER_RESOURCE_FACTORY
A
ResourceFactory for creating UserResource
instances. |
BASE_RESOURCE_FACTORY| Constructor and Description |
|---|
UserResource(ResourceDescriptor resourceDescriptor)
Construct an empty
UserResource with the specified
ResourceDescriptor. |
UserResource(ResourceDescriptor resourceDescriptor,
SCIMObject scimObject)
Construct a
UserResource with the specified
ResourceDescriptor and backed by the given
SCIMObject. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Address> |
getAddresses()
Retrieves the physical mailing address for this User.
|
String |
getDisplayName()
Retrieves the name of the User, suitable for display to end-users.
|
Collection<Entry<String>> |
getEmails()
Retrieves the E-mail addresses for the User.
|
Collection<Entry<String>> |
getEntitlements()
Retrieves the list of entitlements for the User that represent a thing
the User has.
|
Collection<Entry<String>> |
getGroups()
Retrieves the list of groups that the user belongs to.
|
Collection<Entry<String>> |
getIms()
Retrieves the Instant messaging address for the User.
|
String |
getLocale()
Retrieves the User's default location for purposes of localizing items
such as currency, date time format, numerical representations, etc.
|
Name |
getName()
Retrieves the components of the User's real name.
|
String |
getNickName()
Retrieves the casual way to address the user in real life, e.g.
|
String |
getPassword()
Retrieves the User's clear text password.
|
Collection<Entry<String>> |
getPhoneNumbers()
Retrieves the Phone numbers for the User.
|
Collection<Entry<String>> |
getPhotos()
Retrieves the URL of a photo of the User.
|
String |
getPreferredLanguage()
Retrieves the User's preferred written or spoken language.
|
String |
getProfileUrl()
Retrieves the URL to a page representing the User's online profile.
|
Collection<Entry<String>> |
getRoles()
Retrieves the list of roles for the User that collectively represent who
the User is; e.g., 'Student', "Faculty".
|
String |
getTimeZone()
Retrieves the User's time zone in the public-domain time zone database
format; e.g.,'America/Denver'.
|
String |
getTitle()
Retrieves the user's title, such as "Vice President".
|
String |
getUserName()
Retrieves the Unique identifier for the User, typically used by the user
to directly authenticate to the service provider.
|
String |
getUserType()
Retrieves the the organization to user relationship.
|
Boolean |
isActive()
Retrieves the User's administrative status.
|
UserResource |
setActive(Boolean active)
Sets the User's administrative status.
|
UserResource |
setAddresses(Collection<Address> addresses)
Sets the physical mailing address for this User.
|
UserResource |
setDisplayName(String displayName)
Sets the name of the User, suitable for display to end-users.
|
UserResource |
setEmails(Collection<Entry<String>> emails)
Sets the E-mail addresses for the User.
|
UserResource |
setEntitlements(Collection<Entry<String>> entitlements)
Sets the list of entitlements for the User.
|
UserResource |
setGroups(Collection<Entry<String>> groups)
Sets the list of groups that the user belongs to.
|
UserResource |
setIms(Collection<Entry<String>> ims)
Sets the Instant messaging address for the User.
|
UserResource |
setLocale(String locale)
Sets the User's default location for purposes of localizing items.
|
UserResource |
setName(Name name)
Sets the components of the User's real name.
|
UserResource |
setNickName(String nickName)
Sets the casual way to address the user in real life, e.g.
|
UserResource |
setPassword(String password)
Sets the User's clear text password.
|
UserResource |
setPhoneNumbers(Collection<Entry<String>> phoneNumbers)
Sets the Phone numbers for the User.
|
UserResource |
setPhotos(Collection<Entry<String>> photos)
Sets the URL of a photo of the User.
|
UserResource |
setPreferredLanguage(String language)
Sets the User's preferred written or spoken language.
|
UserResource |
setProfileUrl(String url)
Sets the URL to a page representing the User's online profile.
|
UserResource |
setRoles(Collection<Entry<String>> roles)
Sets the list of roles for the User.
|
UserResource |
setTimeZone(String timeZone)
Sets the User's time zone in the public-domain time zone database
format; e.g.,'America/Denver'.
|
UserResource |
setTitle(String title)
Sets the user's title, such as "Vice President".
|
UserResource |
setUserName(String userName)
Sets the Unique identifier for the User.
|
UserResource |
setUserType(String userType)
Sets the the organization to user relationship.
|
addOrReplaceMultiValuedValue, addOrReplaceMultiValuedValue, equals, getAttributeValues, getComplexAttributeValue, getComplexAttributeValue, getExternalId, getId, getMeta, getMultiValuedAttribute, getMultiValuedAttribute, getResourceDescriptor, getScimObject, getSimpleAttributeValue, getSimpleAttributeValue, getSingularAttributeValue, hashCode, marshal, setAttributeValues, setComplexAttribute, setComplexAttribute, setExternalId, setId, setMeta, setMultiValuedAttribute, setMultiValuedAttribute, setSimpleAttribute, setSimpleAttribute, setSingularAttributeValue, toStringpublic static final ResourceFactory<UserResource> USER_RESOURCE_FACTORY
ResourceFactory for creating UserResource
instances.public UserResource(ResourceDescriptor resourceDescriptor)
UserResource with the specified
ResourceDescriptor.resourceDescriptor - The resource descriptor for this SCIM resource.public UserResource(ResourceDescriptor resourceDescriptor, SCIMObject scimObject)
UserResource with the specified
ResourceDescriptor and backed by the given
SCIMObject.resourceDescriptor - The resource descriptor for this SCIM resource.scimObject - The SCIMObject containing all the
SCIM attributes and their values.public String getUserName()
public UserResource setUserName(String userName)
userName - The Unique identifier for the Userpublic Name getName()
null if
it is not specified.public UserResource setName(Name name)
name - The components of the User's real name.public String getDisplayName()
null if it is not specified.public UserResource setDisplayName(String displayName)
displayName - The name of the User, suitable for display to end-users.public String getNickName()
public UserResource setNickName(String nickName)
nickName - The casual way to address the user in real life.public String getProfileUrl()
null if it is not specified.public UserResource setProfileUrl(String url)
url - The URL to a page representing the User's online profile.public String getTitle()
null if it is not specified.public UserResource setTitle(String title)
title - The user's title.public String getUserType()
null
if it is not specified.public UserResource setUserType(String userType)
userType - The the organization to user relationship.public String getPreferredLanguage()
null if it is not specified.public UserResource setPreferredLanguage(String language)
language - The User's preferred written or spoken language.public String getLocale()
null if it is not specified.public UserResource setLocale(String locale)
locale - The User's default location for purposes of localizing items.public String getTimeZone()
null if it is not specified.public UserResource setTimeZone(String timeZone)
timeZone - The User's time zonepublic Boolean isActive()
true if the User's administrative status is active or
false otherwise or null if it is not
specified.public UserResource setActive(Boolean active)
active - The User's administrative status.public String getPassword()
public UserResource setPassword(String password)
password - The User's clear text passwordpublic Collection<Entry<String>> getEmails()
null if it is
not specified.public UserResource setEmails(Collection<Entry<String>> emails)
emails - The E-mail addresses for the User.public Collection<Entry<String>> getPhoneNumbers()
null
if it is not specified.public UserResource setPhoneNumbers(Collection<Entry<String>> phoneNumbers)
phoneNumbers - The Phone numbers for the User.public Collection<Entry<String>> getIms()
null
if it is not specified.public UserResource setIms(Collection<Entry<String>> ims)
ims - The Instant messaging address for the User.public Collection<Entry<String>> getPhotos()
null if
it is not specified.public UserResource setPhotos(Collection<Entry<String>> photos)
photos - The URL of a photo of the User.public Collection<Address> getAddresses()
null if
it is not specified.public UserResource setAddresses(Collection<Address> addresses)
addresses - The physical mailing address for this User.public Collection<Entry<String>> getGroups()
null if
it is not specified.public UserResource setGroups(Collection<Entry<String>> groups)
groups - The list of groups that the user belongs to.public Collection<Entry<String>> getEntitlements()
null if
it is not specified.public UserResource setEntitlements(Collection<Entry<String>> entitlements)
entitlements - The list of entitlements for the Userpublic Collection<Entry<String>> getRoles()
null if
it is not specified.public UserResource setRoles(Collection<Entry<String>> roles)
roles - The list of roles for the User.Copyright © 2011–2016 UnboundID. All rights reserved.