const String & GetUserPassword() const;
None.
Gets the user password for the matchmaking session.
This function can only be used to get the password if it was set on the local system using the MatchmakeSession::SetUserPassword
function. This function cannot get the password for a matchmaking session retrieved from the server and always returns an empty string for such sessions. Use the MatchmakeSession::GetUserPasswordEnabled
function to check whether a user password is set for the matchmaking session.
CONFIDENTIAL