NAME
SPOPS::User - Create and manipulate users.
SYNOPSIS
use SPOPS::User;
$user = SPOPS::User->new();
# Increment the user's login total
$user->increment_login();
print "Username: $user->{username}\n";
DESCRIPTION
METHODS
fetch_by_username( $username, \%params )
Class method. Retrieves a user object based on a $username rather than a user_id. Returns undef if no user found by that name.
full_name()
Returns the full name -- it is accessed often enough that we just made an alias for concatenating the first and last names.
make_public()
Make this user part of the public group.
check_password( $pw )
Return a 1 if the password matches what is in the database, a 0 if not.
TO DO
BUGS
COPYRIGHT
Copyright (c) 2000 intes.net, inc.. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Chris Winters <chris@cwinters.com>