[Building Sakai] Updating SQL database directly
Nguni Phakela
nguni52 at gmail.com
Thu Jan 31 23:21:21 PST 2013
Hi John,
In my config file, I don't have that.
What should I set it to so that I can be able to update the EID? It is a
different value from ID.
Cheers,
Nguni
On Fri, Feb 1, 2013 at 6:41 AM, John Bush <john.bush at rsmart.com> wrote:
> 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
>
--
Nguni Phakela
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130201/aeca1a0c/attachment.html
More information about the sakai-dev
mailing list