EOS_Auth_GetSelectedAccountId

EOS API reference page for EOS_Auth_GetSelectedAccountId

1분 소요

This function is part of the Auth Interface.

Remarks

Fetch the selected account ID to the current application for a local authenticated user.

Return Value

  • EOS_Success if the user is logged in and the information is available.

  • EOS_InvalidParameters if the output parameter is NULL.

  • EOS_InvalidUser if the input account ID is not locally known.

  • EOS_InvalidAuth if the input account ID is not locally logged in.

  • EOS_NotFound otherwise.

Parameters

EOS_Auth_GetSelectedAccountId

Parameter Type And NameUsage Information
EOS_HAuth Handle
const EOS_EpicAccountId LocalUserIdThe account ID of a currently logged in account.
EOS_EpicAccountId* OutSelectedAccountIdThe selected account ID corresponding to the given account ID.
  • EOS_EResult