Skip to content. | Skip to navigation

Personal tools


You are here: Home / Members / jhb / understanding ldapuserfolder

understanding ldapuserfolder

by Jörg Baach last modified Feb 06, 2008 03:59 PM
Researching the use of ldapuserfolder, a zope product

f = acl_users

u = f.getUser('somebody')

How do I get the user object from the folder? 
How do I get the dn of a user?
changing attributes of a user
 f.manage_editUser(dn,kwargs=dict(attribute='hihi)) - this uses the 'real' ldap attributes
getting a property of a user
u.attribute - using the ldap attribute name, but only for some attributes. Which ones???
getting all the possible attributes - the schema
getting a property of a user using the 'friendly name'
get all the properties of a user

It pretty much seems that everything is done with the ldap names, and the friendly names are just cosmetic.






Filed under: ,
Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 42 minus 19?
Your answer: