Logo Search packages:      
Sourcecode: zope-ldapuserfolder version File versions

def LDAPUserFolder::LDAPUserFolder::manage_addUser (   REQUEST,
  kwargs 
)


Create a new user record. If REQUEST is not None, it will be used to
retrieve the values for the user record.

To use this method from Python you must pass None as the REQUEST
argument and a dictionary called *kwargs* containing key/value pairs
for the user record attributes.

The dictionary of values passed in, be it REQUEST or kwargs, must at
the very least contain the following keys and values:

o *cn* or *uid* (depending on what you set the RDN attribute to)

o *password* (the new user record's password)

o *confirm* (This must match password)

o all attributes your user record LDAP schema must contain (consult
  your LDAP server schema)

Only those attributes and values are used that are specified on the 
LDAP Schema tab of your LDAPUserFolder.

Permission: *Manage users*

Definition at line 192 of file LDAPUserFolder.py.

00192                                        :
        """

        Create a new user record. If REQUEST is not None, it will be used to
        retrieve the values for the user record.

        To use this method from Python you must pass None as the REQUEST
        argument and a dictionary called *kwargs* containing key/value pairs
        for the user record attributes.

        The dictionary of values passed in, be it REQUEST or kwargs, must at
        the very least contain the following keys and values:

        o *cn* or *uid* (depending on what you set the RDN attribute to)

        o *password* (the new user record's password)

        o *confirm* (This must match password)

        o all attributes your user record LDAP schema must contain (consult
          your LDAP server schema)

        Only those attributes and values are used that are specified on the 
        LDAP Schema tab of your LDAPUserFolder.

        Permission: *Manage users*

        """

    def manage_editUser(user_dn, REQUEST, kwargs):


Generated by  Doxygen 1.6.0   Back to index