Realm Mongodb Migration Android

In the android legacy realm sdk there was the following method “isAdmin”, i couldn’t find any alternative for the same in the new mongodb realm sdk

Hi @spam_mail,

the isAdmin functionality does indeed not exist in the SDK anymore. This can be done via the REST API or simply by using the app dashboard in Atlas.

What exactly is your goal? I’m happy to give you more guidance if I know what you want to achieve.

Best,
Dominic

1 Like

Hi,
We had the following check
if(syncUser.isAdmin())
and additional screen access is provided. Some functionality in the app is restricted to common users.

Thanks

I understand. This would be separated now with common users using the app and the admin(s) using the web interface. This separation of rights makes it also safer to handle everything.