Package com.uc4.api.systemoverview
Class UserListItem
java.lang.Object
com.uc4.api.systemoverview.UserListItem
This class describes one row of the User list in the system overview.
-
Constructor Summary
ConstructorsConstructorDescriptionUserListItem
(Element row, ConnectionAttributes session) Constructs aUserListItem
using a XML Element. -
Method Summary
Modifier and TypeMethodDescriptionReturns the first archive key.Returns the second archive key.int
Returns the client of the user.getCp()
Returns the Communication process to which the user is connected.Returns the User's first name.getHost()
Returns the host name of the client.getID()
char
Returns the language selected at last user logon.Returns User's last name.Date and time of the last logon ornull
.getMail1()
Returns user's first email address.getMail2()
Returns user's second email address.getName()
Returns the name of the user.int
Returns the number of the user session.Returns the timeZone of the session.Returns the TimeZone specified in User object.Returns the system version including patch level.Returns ZDU Versionboolean
isActive()
Returnstrue
if the user is active.boolean
isLDAP()
Returnstrue
if this user is an LDAP user.boolean
isLocked()
Returnstrue
if this user is locked, false otherwise.boolean
Returnstrue
if the user is logged on.toString()
-
Constructor Details
-
UserListItem
Constructs aUserListItem
using a XML Element.- Parameters:
row
- Elementsession
- Session info
-
-
Method Details
-
getRemoteID
- Returns:
- Remote Identifier
-
getID
- Returns:
- Object and session id
-
getHost
Returns the host name of the client.- Returns:
- Host name
-
getArchiveKey1
Returns the first archive key. Two freely definable keys may be specified. These are written to the statistics data each time the object is executed. Statistical data may be selected by these archive keys.- Returns:
- first archive key
-
getArchiveKey2
Returns the second archive key. Two freely definable keys may be specified. These are written to the statistics data each time the object is executed. Statistical data may be selected by these archive keys.- Returns:
- second archive key
-
getClient
public int getClient()Returns the client of the user.- Returns:
- client
-
isActive
public boolean isActive()Returnstrue
if the user is active.- Returns:
- true if the user is active, false if inactive
-
isLDAP
public boolean isLDAP()Returnstrue
if this user is an LDAP user.- Returns:
- True if LDAP is used
-
isLocked
public boolean isLocked()Returnstrue
if this user is locked, false otherwise.- Returns:
- True if locked
-
getCp
Returns the Communication process to which the user is connected.- Returns:
- CP
-
getFirstName
Returns the User's first name.- Returns:
- First name
-
isLoggedOn
public boolean isLoggedOn()Returnstrue
if the user is logged on.- Returns:
true
if the user is logged on
-
getLanguage
public char getLanguage()Returns the language selected at last user logon.- Returns:
- language
-
getLastSession
Date and time of the last logon ornull
.- Returns:
- last session
-
getMail1
Returns user's first email address.- Returns:
- email1
-
getMail2
Returns user's second email address.- Returns:
- email2
-
getName
Returns the name of the user.- Returns:
- name
-
getSessionId
public int getSessionId()Returns the number of the user session.- Returns:
- session ID
-
getSessionTimeZone
Returns the timeZone of the session.- Returns:
- timezone
-
getLastName
Returns User's last name.- Returns:
- last name
-
getUserTimeZone
Returns the TimeZone specified in User object.- Returns:
- User Time zone
-
getVersion
Returns the system version including patch level.- Returns:
- Version
-
getZduVersion
Returns ZDU Version- Returns:
- ZDU Version
-
toString
-