Skip to main content
Version: 3.x.x

Account

Usage

To get account properties you can use Platform101XP.getAccount():

import com.platform101xp.authorize.account.Account;
Account account = Platform101XP.getAccount();
import com.platform101xp.authorize.account.Account
val account = Platform101XP.getAccount()

The object account has the next keys and values:

KeyValueDescription
accountId(Long)The user accountID
portalId(Long)The user portalID
userGameId(Long)The user userGameId, main ID for User in Game, use always and only with ID
mobileId(Long)The user mobileId, internal ID, NOT for USE
userName(String)The user name
userPhotoUrl(String)Url for photo user
isGuesttrue\false (Boolean)For detect user is guest auth