NAME

PurpleWiki::Database::User::UseMod - UseMod backend for user database.

SYNOPSIS

  use PurpleWiki::Database::User::UseMod;

DESCRIPTION

Accesses UseMod user database (along with corresponding username index, created by this class or by createUsernameIndex.pl).

METHODS

new

Constructor. Creates user directory and subdirectories if it doesn't already exist.

createUser

Creates a new user and reserves the user ID. Returns a PurpleWiki::User object.

loadUser($userId)

Loads user with $userId and returns PurpleWiki::User object.

saveUser($user)

Saves a PurpleWiki::User object and updates the index.

deleteUser($userId);

Deletes user with $userId from database.

idFromUsername($userName)

Returns user ID corresponding to $userName.

AUTHORS

Eugene Eric Kim, <eekim@blueoxen.org>

SEE ALSO

PurpleWiki::Database::User::Base