I wanted to add that, there seems to be no straightforward (or just any) way to properly identify a user who is making requests in vRA; as a result, when someone wants to check which domain user requested a catalog item, the user requesting the item cannot be identified in the following scenario:
multliple domains are configured as directories in vIDM. Some users have identical usernames between domains. One of those users requests an item from the catalog. Based on the payload passed to vRO or an ABX action (or just deployment inputs), or after provisioning, the "Owner" column in the Resources tab, it is not possible to deduct which domain the user is a member of, since only the username is displayed and the UPN, or even a userId/idpId is nowhere to be found!
The same goes for querying the deployment API with the deployment id or request id - both queries only return the username in the "ownedBy","createdBy","latUpdateBy" fields. As mentioned before, using the search APIs is worthless, since you can also only search for the username - and the search returns all matches containing the username.
I don't understand why this was made so complicated - why isn't the user principal name just passed along with the deployment input or just generally with the request infos in an event subscription payload?