[+]
[+]
[+]
[-]
  
  
 [+]
 [+]
 [+]
  
  
  
 [+]
 [+]
 [+]
 [+]
 [+]
 [-]
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 [+]
  
 [+]
  
Updated on 8/14/2019
Workflow Documentation
currentUser
Direct link to topic in this publication:

PREVIOUS  |  NEXT

currentUser 


The following table lists the available methods for the currentUser object:

Return TypeMethodExplanation
BooleancurrentUser.equals (Object)Returns the user type of the user
Boolean currentUser.getActive (Object) Return true if the current user is active
ScriptCompanycurrentUser.getCompany()Returns the company of the user
ScriptCustomFieldcurrentUsert.getCustomField(String customFieldSystemID)Returns the custom field of the user
Object(string,number,date,etc.) currentUser.getCustomFieldValue(String customFieldSystemID)Returns the value of the custom field
ScriptDepartmentcurrentUser.getDepartment()Returns the department of the user
StringcurrentUser.getDescription()Returns the description of the user
String currentUser.getEmail()Returns the email of the user
StringcurrentUser.getFederationId()

Returns the Federation ID of the user

Federation ID is used for Single Sign On (SSO). See SAML SSO Integration with Workflow for more information.

String currentUser.getFirstName()Returns the first name of the user
String currentUser.getLastName()Returns the last name of the user
String currentUser.getLoginName()Returns the login name of the user
String currentUser.getMiddleName()Returns the middle name of the user
String currentUser.getName()Returns the full name of the user
String currentUser.getPassword()Returns the password of the user
String currentUser.getPhotoBigUrl()Returns the URL of the profile picture (big size) of the user
String currentUser.getPhotoMediumUrl()Returns the URL of the profile picture (medium size) of the user
String currentUser.getPhotoSmallUrl()Returns the URL of the profile picture (small size) of the user
String currentUser.getSystemId()Returns the system ID of the user
ScriptUserType currentUser.getUserType()Returns the user type of the user
BooleancurrentUser.isCustomFieldSelectedAll(String customFieldSystemID, Object value)Returns true if one of the selected predefined values in the custom field is the value
BooleancurrentUser.isCustomFieldSelectedAny(String customFieldSystemID, Object value)Returns true if the selected predefined value in the custom field is the value
VoidcurrentUser.setActive(boolean isActive)Activate or deactivate the user
VoidcurrentUser.setCustomField(ScriptCustomField customFeild)Sets the custom field for the current user
ScriptCustomfieldcurrentUser.setCustomField(String customFieldSystemID, Object value)Sets the custom field for the current user with the object value
VoidcurrentUser.setDepartment(ScriptDepartment department)Sets the department for the current user
VoidcurrentUser.setDescription(String description)Sets the description for the current user
VoidcurrentUser.setEmail(String email)Sets the email for the current user
VoidcurrentUser.setFederationId()

Sets the Federation ID of the user

Federation ID is used for Single Sign On (SSO). See SAML SSO Integration with Workflow for more information.


VoidcurrentUser.setFirstName(String firstName)Sets the first name for the current user
VoidcurrentUser.setLastName(String lastName)Sets the last name for the current user
VoidcurrentUser.setLoginName(String loginName)Sets the login name for the current user
VoidcurrentUser.setMiddleName(String middleName)Sets the middle name for the current user
Void currentUser.setPassword(String password)Sets the password for the user
VoidcurrentUser.setUserType(ScriptUserType userType)Sets the user type for the current user
VoidcurrentUser.setDictionary(String dictionarySystemId)
Sets the preferred dictionary for the user.