Session Specific Details #912
Here is my question
In my application, I have a entity which stores Locations
Each Location will have one Organizational Unit and Organizational Unit have users
When the user logs in, I should be able to get all the location he is belongs to and I should restrict only the data relates to the Locations.
How to do that ?
You can load user's locations and store them into a cache (http://www.aspnetboilerplate.com/Pages/ ... ts/Caching) and use it in your further queries by getting from cache.
You can also see query examples to retrieve locations of users: http://www.aspnetboilerplate.com/Pages/ ... -use-cases
Have a nice day.