peerGetUserID

GameSpy SDK

peerGetUserID

Returns the local userID.  Only valid with peerConnectLogin or peerConnectPreAuth.

int peerGetUserID(
PEER peer );
RoutineRequired HeaderDistribution
peerGetUserID<peer.h>SDKZIP

Return Value

Returns the local userID.

Parameters

peer
[in] Initialized peer object.

Remarks

The peerGetUserID function retreives the local user’s userID. This uniquely identifies a user account (email and password combination). See the Presence SDK documentation for more details.

Section Reference: Gamespy Peer SDK