[Building Sakai] Modify sakai user entity (sakai.kernel-1.2.8)

Mark J. Norton markjnorton at earthlink.net
Thu Jan 31 07:50:03 PST 2013


I agree.  Changing the database table definitions is strongly 
discouraged.  It would screw up all sorts of things.

- Mark

On 1/31/2013 10:02 AM, Matthew Buckett wrote:
>> I need to change the sakai-kernel module (1.2.8).
>> It's required alter the SAKAI_USER table in database and all logic and
>> services associated.
>> It's needed to add a new field called NIF (fiscal id).
> The easiest solution is normally to use the User's ResourceProperties
> to store this information. For users saved in Sakai's DB you can just
> add the additional properties with something like:
>
> User user = UserDirectoryService.editUser('userId");
> user.getProperties().addProperty("NIF", "1234");
> UserDirectoryService.commitEdit(user);
>



More information about the sakai-dev mailing list