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:
| Key | Value | Description |
|---|---|---|
| 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 |
| isGuest | true\false (Boolean) | For detect user is guest auth |