Class UserService

Description

DO NOT USE THIS CLASS ANY LONGER, IT WILL BE REMOVED IN ONE OF THE NEXT VERSIONS!

Use PrincipalService instead:

  1.  $services ServiceFactory::get();
  2.  $principalService $services->getPrincipalService();

  • version: $Id: UserService.php,v 1.6 2006/11/26 22:04:22 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
  • deprecated:


			
Method Summary
UserService UserService ()
int getUserByName (String $name)
Object getUserEnumeration ()
Principal getUserInfo (int $id)
Methods
Constructor UserService (line 51)

Default Constructor.

UserService UserService ()
getUserByName (line 86)

This returns the User ID for the searched Name or the ID for the anonymous User _AID_.

  • return: the User ID or _AID_
  • deprecated: use PrincipalService->lookup() instead!
int getUserByName (String $name)
  • String $name: the user Name to lookup
getUserEnumeration (line 61)

This returns a Enumeration of all User

  • return: a new Enumeration of all User
Object getUserEnumeration ()
getUserInfo (line 72)

This returns a new instance of the Principal Object

  • return: a new instance of Principal
Principal getUserInfo (int $id)
  • int $id: the user ID to get the information for

Documentation generated by phpDocumentor 1.3.1