Products.MightyCal.UserRegistry (version 1.12)
index
/home/zope/lib/python/Products/MightyCal/UserRegistry.py

UserRegistry Class.  Contains the Users defined for the MightyCal

 
Modules
            
Acquisition
Products.MightyCal.CalendarUser
Products.MightyCal.Const
Dumper
Products.MightyCal.Utils
os
zLOG

 
Classes
            
exceptions.Exception
UserCreationException
AccessControl.User.UserFolder(AccessControl.User.BasicUserFolder)
UserRegistry

 
class UserCreationException
      # Signal non-matching passwords in the "password" and "confirm" fields
 
  
__init__(self, value)
__str__(self)

 
class UserRegistry
      UserRegistry Class.  Holds all defined Users for a MightyCal
 
  
__init__(self)
Construct a new instance of UserRegistry
_addUser(self, userInfo, REQUEST=None)
# Performs initial sanity checking on user information prior to creating
_changeUser(self, userInfo, REQUEST=None)
# Performs initial sanity checking on user information prior to updating
_createInitialUser(self)
If there are no users or only one user in this user folder, populates from the 'inituser' file in INSTANCE_HOME. We have to do this even when there is already a user just in case the initial user ignored the setup messages. We don't do it for more than one user to avoid abuse of this mechanism. Called only by OFS.Application.initialize().
_doAddUser(self, userInfo, **kw)
Create a new user
_doChangeUser(self, userInfo, **kw)
addUser(self, username, password, roles=None, domains=None)
Simple interface for adding a user
manage_users(self, submit=None, REQUEST=None, RESPONSE=None)
This method handles operations on users for the web based forms of the ZMI. Application code (code that is outside of the forms that implement the UI of a user folder) are encouraged to use manage_std_addUser

 
Data
             MessageDialog = <HTML instance at 82c28f8>

__file__ = '/home/zope/lib/python/Products/MightyCal/UserRegistry.pyc'

__name__ = 'Products.MightyCal.UserRegistry'

__version__ = '$Revision: 1.12 $'