PartyLocalEndpoint::GetLocalUser

Gets the local user associated with this local endpoint.

Syntax

PartyError GetLocalUser(  
    PartyLocalUser** localUser  
)  

Parameters

localUser   PartyLocalUser**
library-allocated output, may return nullptr

The output local user associated with this local endpoint, or nullptr.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().

Remarks

If this endpoint is not associated with a user, localUser is set to nullptr.

Requirements

Header: Party.h

See also

PartyLocalEndpoint