I wanted to access the administrative permissions in the apex controller for e.g. want to check that the "API Enabled" checkbox is enabled or not.
Please let me know if there is a way to do this.
Thanks in advance!!!
I wanted to access the administrative permissions in the apex controller for e.g. want to check that the "API Enabled" checkbox is enabled or not.
Please let me know if there is a way to do this.
Thanks in advance!!!
Best Answer
Below is a code to check the "API Enabled" status for logged in user profile. You can query from other profiles in similar way. Hope this will help.