We made a multitenant implementation of UIM by using the qos_processor to create virtual origins and each account is associated to the correspondant origin. We need to create two or more site templates in Liferay for different types of user (roles and permissions). For instance, we need to create a basic user profile and an advanced user profile. The basic one would show the USM and a page with some ListViewer portlets, while the advanced profile would show the same pages plus another custom page.
So, the thing is that when we create a user from the UIM portal, it is created in Liferay but it's not associated to the custom sites and roles we created previously. Basically, we need to understand how UIM triggers the creation of a user in LifeRay so we can then find a way to modify the (or add our own) script that creates the users.
Summarizing, we want to automatically assing a certain site template and a role to the users we create from the UIM portal.
UIM does not really create liferay users.
When an NMS user or account user is created if you check the users in Liferay that user will not exist.
The user is not created until the user logs into UMP for the first time.
During this process the UMP actually creates the liferay user after the authentication is passed to the hub for verification.
So the UIM application does not have a script or process for creating these users.
You might want to check the liferay community for tips on what you are trying to do.
Hope this helps