Jump to content

How to differentiate between account status?


Recommended Posts

Posted
On 8/23/2021 at 11:21 AM, Wishy said:

Has anyone got an idea how to differentiate between types of accounts?

 

E.g. HCIM -> Reg Iron -> UIM -> Normie

 

Ive tried Widgets and Configs and cant find any difference?

Did you try the API method for it?

 


https://osbot.org/api/org/osbot/rs07/api/Client.AccountType.html
 

AccountType currentAccountType = getClient().getAccountType();
        
        if (currentAccountType.equals(AccountType.NORMAL)) {
            log("Account type is NORMAL");
        }
//etc

Don't remember which equals is most conventional here, but either one should work I think
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...