We have a client that uses openId. Unfortunatly the claims response doesn't provide all the information needed to be able to determine the user groups a user needs to have assigned. We need to make a call to another system to retrieve the information to determine this.
For now we run the logic to determine this and adjust user groups when the user clicks a menu item.
What we would like to do is run this logic as soon as possible after the login. Best would be before menu items are loaded.
Is this possible? Or is there an alternative that we didn't think of?
The nicest solution would be to use a start object for the group containing the users which need to be determined. This start object could be a single task or even a processflow with a finish action to remove the current user from the group with the start object. This way this logic will only be called once.
Another option would be to set a ‘StartupProcedure’ in the extended properties.
This procedure will then be called every single time the application is started.
Unfortunatly the StatupProcedure extended property doesn't seem to be called when starting the application through an universal interface.