Method Summary |
|
public String | getEmail() Returns the user's email address. |
public int | getID() Returns the user's id. |
public Calendar | getLastLogin() Returns the user's last login date. |
public Calendar | getLastPost() Returns the date that the user posted his last message. |
public String | getName() Returns the user's name. |
public String | getPasswordHash() Returns the user's password in hashed form. |
abstract public ForumPermissions | getPermissions(Authorization authorization) Returns the permissions for the user that correspond to the
passed-in Authorization. |
public String | getProperty(String name) Returns an extended property of the user. |
public boolean | getThreadSubscribe() Shows if user wants to subscribe to the threads he posts messages in. |
public Locale | getUserLocale() Returns the user's preferred locale. |
public TimeZone | getUserTimeZone() Returns the user's Time Zone. |
public String | getUsername() Returns the user's username. |
public boolean | hasPermission(int type) Returns true if the handle on the object has the permission specified.
A list of possible permissions can be found in the ForumPermissions
class. |
public boolean | isAnonymous() Returns true if the User object is an anonymous user object. |
public boolean | isEmailVisible() Returns true if the user has chosen to make her email visible to other
users. |
public boolean | isNameVisible() Returns true if the user has chosen to make her name visible to other
users. |
public Enumeration | propertyNames() Returns an Enumeration of all the names of the extended user properties. |
public void | setEmail(String email) Sets the user's email address. |
public void | setEmailVisible(boolean visible) Sets whether a user's email is visible to other users. |
public void | setName(String name) Sets the user's name. |
public void | setNameVisible(boolean visible) Sets whether a user's name is visible to other users. |
public void | setPassword(String password) Sets the users's password. |
public void | setPasswordHash(String passwordHash) Sets the user's password in hashed form. |
public void | setProperty(String name, String value) Sets an extended property of the user. |
public void | setThreadSubscribe(boolean emailReply) Boolean value to determin if user wants to
subscribe to the threads that he posts messages in. |
public void | setUserLocale(Locale locale) This would set the user's perferred locale. |
public void | setUserTimeZone(String timezoneid) This would set the user's perferred Time Zone. |