Well kind of, what I need to do is alter the security table to have a company ID. Then when admin form loads have it check for company and user, and display only what is need on in respect to roles and users for company XYZ.
So how can I subclass your security model and add in a new parameter for company ID as part of the userid.
So when Joe logs in I check that he has a valid login, then I map his unique id to a company ID. If Joe has admin rights, and Joe wants to setup security for a new role, Joe will only see what roles belong to Joe's company, instead of all the roles in the software. No point letting Joe change some one else's role codes.
Then I can use this company ID to tie it to the Data sets in MM to get the Key.
Does this sound right?
By me altering the security table will this hamper me for future updates?
Shawn Dorion
Geo Sektor Dot Com