[Building Sakai] Updating SQL database directly

John Bush john.bush at rsmart.com
Thu Jan 31 20:41:12 PST 2013


check your config for this:

separateIdEid at org.sakaiproject.user.api.UserDirectoryService

This controls whether or not to use a separate value for a user's ID
and EID.


On Thu, Jan 31, 2013 at 1:40 AM, Nguni Phakela <nguni52 at gmail.com> wrote:
> Hi Mark,
>
> Using your advice I was able to make updates to all the other fields except
> the EID didn't update.
> Would you have any idea why this is the case?
>                 securityService.pushAdvisor(secAdvice);
>                 userEdit = userDirectoryService.editUser(userId);
>                 userEdit.setEid(eid);
>                 userEdit.setFirstName(student.getGivenname());
>                 userEdit.setLastName(student.getSurname());
>                 userEdit.setEmail(student.getEmail());
>                 userDirectoryService.commitEdit(userEdit);
>
> Cheers,
> Nguni
>
> _______________________________________________
> 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"



-- 
John Bush
602-490-0470


More information about the sakai-dev mailing list