[Building Sakai] Tool Development

Nkululeko Phakela nonkululeko.phakela at wits.ac.za
Thu Jul 14 00:14:04 PDT 2011


Hi All,

I am new to Sakai. I'm trying to develop a tool which can automatically
add students to a course. Now that I have added these students, I would
also like to delete them. 

Some of the students have been deleted and others have not been deleted.
I'm saving the data into MySQL. Can someone please let me know which
table the data is saved to when using this code:

// add member
site.addMember(studentNumber, "Student", true, false);

//save site
siteService.save(site);

The students that have not been deleted throw this exception:

org.sakaiproject.user.api.UserNotDefinedException id=xxxxxx

Regards,
Nguni


<html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html>



More information about the sakai-dev mailing list