[Building Sakai] Updating SQL database directly

Earle Nietzel earle.nietzel at gmail.com
Fri Feb 1 07:49:45 PST 2013


Nguni,

Set it to "true" like so:

separateIdEid at org.sakaiproject.user.api.UserDirectoryService=true

Earle


On Fri, Feb 1, 2013 at 2:21 AM, Nguni Phakela <nguni52 at gmail.com> wrote:

> 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
>
> _______________________________________________
> 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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130201/e4dab6ce/attachment.html 


More information about the sakai-dev mailing list