GetSteamAccountID Function

Returns the client's Steam account ID, a number uniquely identifying a given Steam account. This number is the basis for the various display SteamID forms, see the AuthIdType enum for examples.

int GetSteamAccountID(int client, bool validate)


int client

Client Index.

bool validate

Check backend validation status. DO NOT PASS FALSE UNLESS YOU UNDERSTAND THE CONSEQUENCES, You WILL KNOW if you need to use this, MOST WILL NOT.

Return Value

Steam account ID or 0 if not available.


If the client is not connected or the index is invalid.