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

`The RoleUserManager mixin.`

Classes

``

__builtin__.object
  RoleUserManagerMixIn

class RoleUserManagerMixIn(__builtin__.object)
`` | `Mixin class for mapping names to roles. This mixin adds the functionality of keeping a dictionary mapping names to role instances. Several accessor methods are provided for this.`

Methods defined here:

__init__(self)

addRole(self, role)

clearRoles(self)

delRole(self, name)

hasRole(self, name)

initUserClass(self)
  `Invoked by __init__ to set the default user class to RoleUser.`

role(self, name, default=<class 'MiscUtils.NoDefault'>)

roles(self)

Data descriptors defined here:

__dict__
  `dictionary for instance variables (if defined)`

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