This function returns the user ID pointer currently associated with file saving (or the constant pointer_null if no user ID is currently being used). See xboxlive_set_savedata_user() for further details.
xboxlive_get_savedata_user();
if (xboxlive_get_savedata_user() != user_id[0])
{
xboxlive_set_savedata_user(user_id[0]);
}
The above code checks to see if a user is currently assigned as the save target, and if they are not then they are assigned.