Re: LDAPUserFolder: Suche nach Roles
Andreas Jung <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Organization | ZOPYX Ltd & Co. KG |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Such nach "rolemap".
- -aj
Jan Leonhardt wrote:
> Andreas Jung schrieb:
>> Jan Leonhardt wrote:
>>> Wie kann ich mir die Nutzer zu einer (nicht im AD hinterlegten!) Rolle
>>> holen?
>> Schau Dir mal den Code von zopyx.cassandra an.
>
>> -aj
>
> Meinst Du folgende Ausschnitte?:
>
> usernames context/acl_users/getUserIds;
>
> tal:repeat="name usernames"
>
>
> Ich benötige das ganze in einem Python-Script. Also habe ich folgendes
> versucht:
>
>
> usernames = context.acl_users.getUserIds;
> for user in usernames:
> print user
>
> return printed
>
>
> Auch das bringt nicht den gewünschten Erfolg.
>
> Warum funktioniert
>
> context.acl_users.users_with_local_role('Test')
>
> in diesem Context nicht? Das ist doch eigentlich genau das was ich brauche?
>
- --
ZOPYX Limited \ zopyx group
Charlottenstr. 37/1 \ The full-service network for your
D-72070 Tübingen \ Python, Zope and Plone projects
www.zopyx.com, [email protected] \ www.zopyxgroup.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuiAisACgkQCJIWIbr9KYxB3QCeOgvxml6q1HWIGZ0bCj9vFrZL
k7AAoLeqV4+jFipKGnkQla5gaCi0Lp3a
=ipmm
-----END PGP SIGNATURE-----
_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf
(text/x-vcard, 316 B)
begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. & Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:[email protected] title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard