On 11.01.12 20:04, Weffen Cheung wrote: > Sometimes I update a user record not only after the user login. For example, > I want to update userB's record when userA login. For this case, we cannot > use data.getUser().save(), is it right?
Well, there is TurbineSecurity.getUser(userName) which gives you any user from your backend. The clean solution would be to use TurbineSecurity.saveUser(user) then to make your modifications persistent. The only remaining question would be what userB is going to say if userA modifies his email address, IOW a permission issue. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
