[Building Sakai] How to get a list of all LDAP users on Sakai?
Steve Swinsburg
steve.swinsburg at gmail.com
Sun Jun 27 18:35:31 PDT 2010
Hi Leon,
Unless you are running trunk, you can't search external users from within Sakai. This capability was added recently:
http://jira.sakaiproject.org/browse/SAK-6792
http://jira.sakaiproject.org/browse/SAK-18288
The SAKAI_USER table only stores internal accounts, however the SAKAI_USER_ID_MAP table stores the relationship between users in Sakai and their login id, including external users. So, you could perform a normal LDAP search or use an app, then cross match that list with those in SAKAI_USER_ID_MAP to see which of all of your LDAP users have logged into Sakai (and thus could be considered to be Sakai users).
cheers,
Steve
On 28/06/2010, at 11:21 AM, Leon Kolchinsky wrote:
> Hello,
>
> I'd like to send all of our Sakai users an e-mail.
>
> My Sakai instance integrated with our LDAP (openldap).
>
> Where can I find a full list of users and their e-mails, or at least list of their usernames for ldap users?
> I can see that there is a SAKAI_USER table in the DB with users names and e-mails.
> I assume that all those users are internal Sakai users.
>
> But what about LDAP users?
> Where can I get a list of those users (usernames or e-mails)?
>
>
> Best Regards,
> Leon Kolchinsky
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list