With this function you can request that the XBox shows the profile card for the target user ID pointer. The function requires both the user ID pointer for the user that is requesting the information as well as the user ID pointer of the user to target and get the profile card of.IMPORTANT! This function is only valid when exporting using the UWP target for the Xbox One and it requires you to have checked the Enable XBox Live option in the UWP Game Options.
Argument Description requesting_user_id The user ID (a pointer) of the requesting user target_user_id The user ID (a pointer) of the user to get the profile card of
if (gamepad(0, gp_start))
The above code checks for a gamepad button press and if one is detected it shows the profile card for the given user.