Access different security profiles from the client

more information here but a quick summary is the ability to do something like

fpmi.security.useProfile('profile_name')

This would authentic the current user against the new profile and reset the roles granted

Well, I think than given the multitude of other options available to you as detailed in that other thread, compared with the difficulty for us to do this, this is pretty low priority. Not a bad idea though.