Partager via


XTF_USER_DATA

Describes a simulated user.

Syntax

typedef struct XTF_USER_DATA {
    UINT32 userId;
    WCHAR szEmailAddress[256];
    WCHAR szGamertag[32];
    BOOL bSignedIn;
    XTF_USER_XUID xuid;
    BOOL bAutoSignIn;
} XTF_USER_DATA, *PXTF_USER_DATA;  

Members

userId
Type: UINT32

A unique identifier for the user

szEmailAddress
Type: WCHAR

The email address used to sign in the user.

szGamertag
Type: WCHAR

The gamertag of the user.

bSignedIn
Type: BOOL

If true, the user is signed in.

xuid
Type: XTF_USER_XUID

The Xbox user ID of the user.

bAutoSignIn
Type: BOOL

If true, the user is set to automatically sign in.

Remarks

This structure is used in the IXtfUserClient::ListUsers method.

The members of this structure provide values that you can use when calling other IXtfUserClient methods.

To create an object that implements the IXtfUserClient interface, call XtfCreateUserClient.

Requirements

Header: xtfuser.h

Library: xtfuser.lib

Supported platforms: Windows (for Xbox console tools)

See also

XtfUser