bsatish417-gmail
-
6/30/2011 12:11:06 PM
Extend User Object With out adding additional columns to user object
Hi ,
we have a requirement where a user can login & clicks on a image to show poup
popup contains a tree of user names , he can select a user to emulate (or) impersonate like that user , so that he can have the new roles etc set to selected user
how ever we want to retain the logged in user id & new user id on which he clicked
can we extend the user object dynamically for that session, instead of adding additional column to user table .
we dont want to add any additional column to table , but want to store the selected userid in the cmscontext user object
i have seen that we can store them in cookies ,so that they can be used in Macros to get the values when required
but would like to store some where in the session (or) cms context object & access them through Macros when required
thanks satish
|