I need to extend the AbpSession to keep up with a value that I can use through out the system. We have an another level the user can fall into. (lets say a Company) so when the user logs in under a company I want to save that information in the AbpSessions so I can apply filters to based on that value.
Is there a way I can add that field to the ABPSession object?
3 Answer(s)
-
0
I think you want to be using the tenant manager, multi-tenancy, and look at using EntityFramework.dynamicfilters for this filtering
-
0
We already use the Tenant information but a tenant could have multiple companies that a user could reference for different pages. So I would like to be able to set that information up in the Session then use dynamic filters to reference the CompanyId. But I am not sure how to add the property to the session.
Thanks!
-
0
Hi,
Have you seen this forum topic #584@285df1ba-7f5b-42cb-9698-f1e142b50ed4 ?