public class User extends JSBaseScriptableObject
Constructor and Description |
---|
User() |
Modifier and Type | Method and Description |
---|---|
void |
jsFunction_addAllToSubstitutionMap(org.mozilla.javascript.NativeObject theMap)
Add an entire map to the substitution map for the triggering user.
|
void |
jsFunction_addToSubstitutionMap(java.lang.String theKey,
java.lang.String theValue)
Add the key/value pair to the user's substitution map.
|
int |
jsFunction_getEditLevel()
Get the user's edit metadata level (uses groups if defined first, falls back to user)
|
Group[] |
jsFunction_getGroups()
Get an array of groups this user is a member of.
|
Group |
jsFunction_getPrimaryGroup()
Gets the user's primary group.
|
java.lang.String |
jsFunction_getStatus()
Get the user's current status.
|
java.lang.String |
jsFunction_getType()
Returns the user type for the current user.
|
int |
jsFunction_getViewLevel()
Get the user's view metadata level (uses groups if defined first, falls back to user)
|
boolean |
jsFunction_isGlobalAdmin()
Is the user a global administrator
|
boolean |
jsFunction_isPasswordChangeRequired()
Returns whether the user's password needs to be changed.
|
boolean |
jsFunction_isPermissionEnabled(java.lang.String thePermission)
Is the permission enabled in the ACL? If no ACL, returns false
|
void |
jsFunction_setPassword(java.lang.String thePassword)
Set the user's password.
|
void |
jsFunction_setStatus(java.lang.String theStatus)
Set the user's status.
|
void |
jsFunction_setType(java.lang.String theType)
Set the user's type.
|
java.lang.String |
jsFunction_toString()
Returns the string-ified version of this object.
|
void |
jsFunction_updateContactInfo()
Updates the user's ContactInfo in the user database.
|
java.lang.String |
jsGet_address1() |
java.lang.String |
jsGet_address2() |
java.lang.String |
jsGet_city() |
java.lang.String |
jsGet_company() |
java.lang.String |
jsGet_country() |
int |
jsGet_currentACLGroupId()
Deprecated.
This is session specific information, information about the session a triggering event originated
from. Information about the triggering session, including the user, group and ACL, is available through the trigger event object.
|
java.lang.String |
jsGet_dept() |
java.lang.String |
jsGet_email() |
java.lang.String |
jsGet_ext() |
java.lang.String |
jsGet_firstName()
ContactInfo getters/setters
|
java.lang.String |
jsGet_fullName()
This method returns user's full name
|
int |
jsGet_groupId()
Deprecated.
Use
User.jsFunction_getPrimaryGroup() instead. |
java.lang.String |
jsGet_lastName() |
java.lang.String |
jsGet_login()
Returns the user login.
|
java.lang.String |
jsGet_middleName() |
java.lang.String |
jsGet_phone() |
java.lang.String |
jsGet_position() |
java.lang.String |
jsGet_state() |
org.mozilla.javascript.NativeObject |
jsGet_substitutionMap() |
int |
jsGet_userId()
Returns the user ID.
|
java.lang.String |
jsGet_username()
Returns the username.
|
java.lang.String |
jsGet_zip() |
void |
jsSet_address1(java.lang.String theAddress1) |
void |
jsSet_address2(java.lang.String theAddress2) |
void |
jsSet_city(java.lang.String theCity) |
void |
jsSet_company(java.lang.String theCompany) |
void |
jsSet_country(java.lang.String theCountry) |
void |
jsSet_dept(java.lang.String theDept) |
void |
jsSet_email(java.lang.String theEmail) |
void |
jsSet_ext(java.lang.String theExt) |
void |
jsSet_firstName(java.lang.String theFirstName) |
void |
jsSet_lastName(java.lang.String theLastName) |
void |
jsSet_middleName(java.lang.String theMiddleName) |
void |
jsSet_phone(java.lang.String thePhone) |
void |
jsSet_position(java.lang.String thePosition) |
void |
jsSet_state(java.lang.String theState) |
void |
jsSet_zip(java.lang.String theZip) |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public int jsGet_userId()
public java.lang.String jsGet_fullName()
public java.lang.String jsGet_login()
public java.lang.String jsGet_username()
@Deprecated public int jsGet_groupId()
User.jsFunction_getPrimaryGroup()
instead.User.getPrimaryGroup()
@Deprecated public int jsGet_currentACLGroupId()
public java.lang.String jsGet_firstName()
public void jsSet_firstName(java.lang.String theFirstName)
public java.lang.String jsGet_middleName()
public void jsSet_middleName(java.lang.String theMiddleName)
public java.lang.String jsGet_lastName()
public void jsSet_lastName(java.lang.String theLastName)
public java.lang.String jsGet_address1()
public void jsSet_address1(java.lang.String theAddress1)
public java.lang.String jsGet_address2()
public void jsSet_address2(java.lang.String theAddress2)
public java.lang.String jsGet_city()
public void jsSet_city(java.lang.String theCity)
public java.lang.String jsGet_state()
public void jsSet_state(java.lang.String theState)
public java.lang.String jsGet_zip()
public void jsSet_zip(java.lang.String theZip)
public org.mozilla.javascript.NativeObject jsGet_substitutionMap()
public void jsFunction_addToSubstitutionMap(java.lang.String theKey, java.lang.String theValue)
theKey
- the key to add.theValue
- the value that the key maps to.public void jsFunction_addAllToSubstitutionMap(org.mozilla.javascript.NativeObject theMap)
theMap
- the map to add.public java.lang.String jsGet_country()
public void jsSet_country(java.lang.String theCountry)
public java.lang.String jsGet_company()
public void jsSet_company(java.lang.String theCompany)
public java.lang.String jsGet_position()
public void jsSet_position(java.lang.String thePosition)
public java.lang.String jsGet_email()
public void jsSet_email(java.lang.String theEmail)
public java.lang.String jsGet_dept()
public void jsSet_dept(java.lang.String theDept)
public java.lang.String jsGet_phone()
public void jsSet_phone(java.lang.String thePhone)
public java.lang.String jsGet_ext()
public void jsSet_ext(java.lang.String theExt)
public void jsFunction_updateContactInfo()
public Group[] jsFunction_getGroups()
public Group jsFunction_getPrimaryGroup()
public boolean jsFunction_isPermissionEnabled(java.lang.String thePermission)
thePermission
- public java.lang.String jsFunction_getStatus()
public void jsFunction_setStatus(java.lang.String theStatus)
theStatus
- the user's new status.public void jsFunction_setType(java.lang.String theType)
theType
- the user's new type.public java.lang.String jsFunction_getType()
public boolean jsFunction_isGlobalAdmin()
public void jsFunction_setPassword(java.lang.String thePassword)
thePassword
- The user's new password.public boolean jsFunction_isPasswordChangeRequired()
public int jsFunction_getEditLevel()
public int jsFunction_getViewLevel()
public java.lang.String jsFunction_toString()
Copyright © 2023 MediaBeacon, Inc. All Rights Reserved.