Hello,

I think you can write a kind of ImportLDAPUser method that would search all
the existing users in your LDAP directory and that would create
automatically their corresponding Plone account:
getToolByName(self,  'portal_membership').addMember

and then you will be free to set the Roles and Groups you want on each user

Eric BREHAULT

On 4/6/07, Juniel Tamayo Hernandez <[EMAIL PROTECTED]> wrote:

I have a portal connected to a LDAP Active Directory and I want to
administer the portal user within this server,  but I can't assign roles or
groups (in th Plone portal) to users who have not log in the site yet. How
can I access the list of users from the active directory from the portal and
add them to some group, even if they had never visited the portal?

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to