DirectX SDK |
The DirectPlay4.GetPlayerAccountId method retrieves the account identifier of a specified player when called by the session host in a secure session.
object.GetPlayerAccountId(playerId As Long) As String
The method returns a unique identifier that describes a player who is securely logged on. The format of the identifier depends on the Security Support Provider Interface (SSPI) package being used.
If the method fails, an error is raised and Err.Number will be set.
The information returned by this method uniquely identifies an account. You can use this information to record the transactions or other activities of a logged-on player.