How to Check if a User is a Site Admin via API

@markrekveld

Thank you very much for your response.

I have tested it, and it works well for checking the site admin role with “Original user management.”

However, in cases where the organization uses “Centralized user management,” users with a group name of site-admin or org-admin will have the Organization admin role.

So, I am still having trouble checking the site admin role with “Centralized user management.”

If you have any other ideas, please let me know!

Reference: