User management with LDAP
Eric Bréhault
ebrehault at gmail.com
Fri Apr 6 07:51:40 UTC 2007
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 <junielth at gmail.com> 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
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20070406/3c792583/attachment-0001.html>
More information about the Product-Developers
mailing list