Jul 11, 2017 07:44 PM|PhillD|LINK
In an ideal situation, the Database Name and Company ID would live and die with the authenticated user but I need easy access to it and look it up in views and controllers. I also need to be able to alter the Customer ID because some users can access multiple
customer ID's. The Customer ID associated with the user is considered the default/active Customer ID and used in the source for database queries etc.