I am pretty sure that list is controlled by the theme configuration (the list there does not - yet, have that option) - I have often thought it would be nice to have either as an option or as a direct (url) parameter selection
That list changes the default page for Virtualmin no matter who is logged in or what domain they are logged in to. these are settings inside Virtualmin for Virtualmin I was looking for a way to enter as url.
for example a client who owns a group of domains a.com; b.com; c.co.uk; logs in to Virtualmin using the url ://a.coml:10000/tconfig.cgi?xnavigation=1 but gets the same page as me signing in as root on ://example.com:10000/tconfig.cgi?xnavigation=1
if it could be specified as part of the url (request) then handled as such the client gets to where they want and we cease to have this problem.
The annoying thing is that there is already a parameter ?dom=123456 that is used occasionally - but who knows where that number comes from or means.
yes that is exactly the problem
it is internal and the client has no idea what the number is and no way they can get it without me giving it to them and then still no way of actually using it (except on the few requests the use it - most of which the client never returns to)
If users have their own Authentic-Theme config, you could use jQuery to read the domain IDs against the domain names from the drop down menu and do what you need with that data. It would require the code being inserted for each user. You could do one global jQuery but if broken would break a lot of peoples login experience.
NB: this a quick guess because I have not looked into that much.
I prefer the identity “per client” as they are essentially “sudo” users and login as such. Even if I let them know their domain id “number” there is very few places they can use it.