API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_User_GetLoggedInUser Function

Retrieve the currently signed in user. This call is available offline.
NOTE: This will not return the user's presence as it should always be 'online' in your application.
NOTE: Users will have a unique ID per application.
Error codes
  • 100: Something went wrong.
A message with type ovrMessage_User_GetLoggedInUser will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrUserHandle. Extract the payload from the message handle with ovr_Message_GetUser().

Signature

ovrRequest ovr_User_GetLoggedInUser()

Returns