NAME

Apache::Onanox::User

ABSTRACT

User manipulation class.

METHODS

new

Simple constructor

user

Get/set user

get_by_id

Retrieves a user by user_id.

get

Retrieves a user.

get_all

Retrieves all users.

list

Retrieves usernames of all users.

create

Creates a new user.

update

Updates a user.

exists

Checks for the existance of a user;

activate

Activates a new user account.

user_id

Returns user_id.

username

Returns / sets username.

email

Returns email address.

realname

Returns user's real name.

password

Returns password.

status

Returns status.

created

Returns creation datetime.

lasttime

Returns user's last access datetime.

logged_in

Gets list of users logged in.

(TBC. Currently just displays all users.)

ip_addr

Returns user's last access IP address.

preferences

Return Apache::Onanox::User::Preferences object for the user.

SEE ALSO

Apache::Onanox