EOS_Auth_GetSelectedAccountId

EOS API reference page for EOS_Auth_GetSelectedAccountId

Choose your implementation method:

C

C#

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 Name

Usage Information

EOS_HAuth Handle

const EOS_EpicAccountId LocalUserId

The account ID of a currently logged in account.

EOS_EpicAccountId* OutSelectedAccountId

The selected account ID corresponding to the given account ID.

Related API Members

This function is part of the Auth Interface.

Remarks

Fetch the selected account ID to the current application for a local authenticated user. {Result.InvalidParameters} if the output parameter is {null}. {Result.InvalidUser} if the input account ID is not locally known. {Result.InvalidAuth} if the input account ID is not locally logged in. {Result.NotFound} otherwise.

Return Value

{Result.Success} if the user is logged in and the information is available.

Parameters

Auth.AuthInterface.GetSelectedAccountId

Parameter Type And Name

Usage Information

EpicAccountId localUserId

The account ID of a currently logged in account.

EpicAccountId outSelectedAccountId

The selected account ID corresponding to the given account ID.

Related API Members