Skip to content

User

The User feature provides Steam identity information for the local user and other Steam users known to the Steam client.

It can return Steam User IDs, persona names and states, identity structures, and avatar textures for profile and social UI.


Main Capabilities

  • Retrieve the local Steam User ID
  • Retrieve the local persona name and persona state
  • Retrieve the local identity as a single structure
  • Query identity information for another Steam user
  • Download Steam avatars in multiple sizes
  • Validate Steam User IDs
  • Check whether a Steam User ID belongs to the local user
  • Resolve a server-authenticated Steam User ID from an Unreal APlayerState or APlayerController in a managed Steam multiplayer game

Basic Workflow

For local identity, the synchronous local-user getters can be used directly.

For another Steam user:

  1. Obtain a FSteamUserID from Friends, Lobbies, Multiplayer, or another Steam feature.
  2. Call Get Steam User Identity or Get Steam User Avatar.
  3. Handle the asynchronous result.
  4. Use the returned data in your player profile or social UI.

For practical Blueprint workflows, see Examples.


User Identity

Steam identity data is represented by FSteamUserIdentity.

Persona state uses ESteamPersonaState.

The local identity getters are synchronous because Steam already knows the local user's basic state.


Steam IDs in Unreal Multiplayer

Managed Multiplayer provides a replicated, server-authenticated association between Unreal PlayerState objects and Steam User IDs.

  • Get Steam User ID From Player State takes an APlayerState and returns Steam User ID and Success. It can be used on clients once the identity association is replicated.
  • Get Steam User ID From Player Controller takes an APlayerController and returns the same outputs. Remote controllers exist only on the server; use PlayerState on clients.

Always check Success. Immediately after joining, the PlayerState mapping may not yet be available; retry after player state/identity replication rather than assuming the returned ID is valid. These getters do not infer identity from arbitrary untrusted client-provided values.

This is useful for associating a network player with Voice Chat, profiles, or lobby/member UI.


Avatars

Avatar requests are asynchronous and return a texture when Steam provides the requested image.

Available sizes are represented by ESteamAvatarSize.

Avatar data may be unavailable for some users until their persona information is known to the Steam client.


Important Notes

  • Remote identity queries work for friends or other users known to Steam.
  • Steam privacy and persona availability can affect returned information.
  • Persona state can change while the game is running.
  • This feature exposes identity data; it does not provide Steam account login or account management.
  • PlayerState/PlayerController identity lookups require the plugin-managed Steam multiplayer identity mapping; they may report Success=false until replication completes.