UserKit.User | index /usr/local/share/webware/UserKit/User.py

`The basic User class.`

Classes

``

__builtin__.object
  User

class User(__builtin__.object)
`` | `The base class for a UserKit User.`

Methods defined here:

__init__(self, manager=None, name=None, password=None)

__str__(self)

creationTime(self)

externalId(self)

isActive(self)

lastAccessTime(self)

lastLoginTime(self)

login(self, password, fromMgr=0)
  `Return self if the login is successful and None otherwise.`

logout(self, fromMgr=False)

manager(self)

name(self)

password(self)

serialNum(self)

setManager(self, manager)
  `Set the manager, which can only be done once.`

setName(self, name)
  `Set the name, which can only be done once.`

setPassword(self, password)

setSerialNum(self, serialNum)

wasAccessed(self)

Data descriptors defined here:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

Functions

``

time(...)
  `time() -> floating point number
  Return the current time in seconds since the Epoch.
  Fractions of a second may be present if the system clock provides them.`