User Members

User has the following members.

Public Properties

  Name Description
AudioDevices The list of audio devices associated with the user.
Controllers The list of all controllers paired with this user.
DisplayInfo Gets the display information for the user.
Id An identifier for the user that is unique to the console.
IsGuest Indicates whether the user is a guest.
IsSignedIn Boolean value indicating whether the user is signed in.
Location The user location.
  OnlineState Gets the console’s current online state.
Sponsor Gets the user’s current Sponsor.
  Users The list of users currently interacting with the console.
XboxUserHash Gets a hashcode identifying the user. This value is to be used when needed for HTTP calls.
XboxUserId Gets a unique ID tied to the user’s account that persists across multiple consoles.

Public Methods

  Name Description
  GetNetworkCacheIdForUsers Gets the GUID of the network cache for the specified users.
GetTokenAndSignatureAsync Overloaded. Retrieves an authorization token and digital signature for an HTTP request by this user.
  GetTokenAndSignatureForAllUsersAsync Overloaded. Retrieves an authorization token and digital signature for an HTTP request by all users.
  GetUserById Gets the user with the specified ID.

Public Events

  Name Description
  AudioDeviceAdded Event signaling that an audio device has been added.
  AudioDeviceChanged Event signaling that a change to the user’s audio devices.
  AudioDeviceRemoved Event signaling that an audio device has been removed.
  OnlineStateChanged Event that signals a change to the console’s online state.
  SignInCompleted Event signaling that signin has completed for a user.
  SignOutCompleted Event signaling that sign out has completed for a user.
  SignOutStarted Event signaling that sign out has started for a user.
  UserAdded Event signaling that a user has been added to the system.
  UserDisplayInfoChanged Event that signals a change in the user’s display information.
  UserRemoved Event signaling that a user has been removed from the system.

See also

Reference

User Class

Windows.Xbox.System Namespace