Solstice::UserService - Provides access to the logged-in user.


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

Solstice::UserService - Provides access to the logged-in user.

SYNOPSIS

Top

  use Solstice::UserService;

  my $service = Solstice::UserService->new();

  my $user = $service->getUser();

DESCRIPTION

Top

You can get the currently logged-in user at any time using this service.

Superclass

Solstice::Service

Export

No symbols exported..

Methods

getUser()

Returns a Person object. If there is no Session, or no user in Session, $person is created using Solstice::Service::LoginRealm.

hasUser()

Returns TRUE if a user can be created. This means the session has a user, or $ENV{'REMOTE_USER'} is defined.

getOriginalUser()

Returns the original Person object, ignoring administrative overrides.

Modules Used

Solstice::Service, Solstice::Factory::Person (Solstice::Factory::Person), Solstice::Service::LoginRealm, Solstice::Session.

AUTHOR

Top

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Top

$Revision: 3382 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.