Jump to content

How to differentiate between account status?


Wishy

Recommended Posts

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
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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