How to check organization permissions on server without making API call?

I want to just check permissions in a similar way the client organization offers - is there a way to get the "roles" from access control?
Was this page helpful?