xboxlive_user_is_guest

This function will return true if the given user ID pointer is a guest user and false if they are not. You can get a User ID pointer with the function xboxlive_get_user().

 

Syntax:

xboxlive_user_is_guest(user_id);

Argument Description
user_id The ID pointer of the user to check.

 

Returns:

Boolean

 

Example:

if xboxlive_user_is_guest(user_id[0])
    {
    global.user_name[0] = "GUEST";
    }
else
    {
    global.user_name[0] = xboxlive_gamedisplayname_for_user(user_id[0]);
    }

The above stores the activating user ID pointer in a global variable.