Package com.uc4.api.systemoverview
Class UserListItem
- java.lang.Object
-
- com.uc4.api.systemoverview.UserListItem
-
public class UserListItem extends java.lang.Object
This class describes one row of the User list in the system overview.
-
-
Constructor Summary
Constructors Constructor Description UserListItem(org.w3c.dom.Element row, ConnectionAttributes session)
Constructs aUserListItem
using a XML Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArchiveKey1()
Returns the first archive key.java.lang.String
getArchiveKey2()
Returns the second archive key.int
getClient()
Returns the client of the user.java.lang.String
getCp()
Returns the Communication process to which the user is connected.java.lang.String
getFirstName()
Returns the User's first name.java.lang.String
getHost()
Returns the host name of the client.java.lang.String
getID()
char
getLanguage()
Returns the language selected at last user logon.java.lang.String
getLastName()
Returns User's last name.DateTime
getLastSession()
Date and time of the last logon ornull
.java.lang.String
getMail1()
Returns user's first email address.java.lang.String
getMail2()
Returns user's second email address.UC4UserName
getName()
Returns the name of the user.java.lang.String
getRemoteID()
int
getSessionId()
Returns the number of the user session.UC4TimezoneName
getSessionTimeZone()
Returns the timeZone of the session.UC4TimezoneName
getUserTimeZone()
Returns the TimeZone specified in User object.java.lang.String
getVersion()
Returns the system version including patch level.java.lang.String
getZduVersion()
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
isLoggedOn()
Returnstrue
if the user is logged on.java.lang.String
toString()
-
-
-
Constructor Detail
-
UserListItem
public UserListItem(org.w3c.dom.Element row, ConnectionAttributes session)
Constructs aUserListItem
using a XML Element.- Parameters:
row
- Elementsession
- Session info
-
-
Method Detail
-
getRemoteID
public java.lang.String getRemoteID()
- Returns:
- Remote Identifier
-
getID
public java.lang.String getID()
- Returns:
- Object and session id
-
getHost
public java.lang.String getHost()
Returns the host name of the client.- Returns:
- Host name
-
getArchiveKey1
public java.lang.String 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
public java.lang.String 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
public java.lang.String getCp()
Returns the Communication process to which the user is connected.- Returns:
- CP
-
getFirstName
public java.lang.String 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
public DateTime getLastSession()
Date and time of the last logon ornull
.- Returns:
- last session
-
getMail1
public java.lang.String getMail1()
Returns user's first email address.- Returns:
- email1
-
getMail2
public java.lang.String getMail2()
Returns user's second email address.- Returns:
- email2
-
getName
public UC4UserName getName()
Returns the name of the user.- Returns:
- name
-
getSessionId
public int getSessionId()
Returns the number of the user session.- Returns:
- session ID
-
getSessionTimeZone
public UC4TimezoneName getSessionTimeZone()
Returns the timeZone of the session.- Returns:
- timezone
-
getLastName
public java.lang.String getLastName()
Returns User's last name.- Returns:
- last name
-
getUserTimeZone
public UC4TimezoneName getUserTimeZone()
Returns the TimeZone specified in User object.- Returns:
- User Time zone
-
getVersion
public java.lang.String getVersion()
Returns the system version including patch level.- Returns:
- Version
-
getZduVersion
public java.lang.String getZduVersion()
Returns ZDU Version- Returns:
- ZDU Version
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-