Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do you check to see if a user (other than USERID #1) is a Main Admin? I can't find an instance or reference anywhere
The installation of a plugin I'm working on needs to automatically add some new user classes (done), detect those new classes' IDs (done), and then assign the user to one of those new user classes (done). I would like this last step to be available only to users who are a Main Admin, since this plugin separates Admin users to isolate data (company 1 cannot access company 2's data and so on) and I need to have only Main Admins be able to create those Companies.
Beta Was this translation helpful? Give feedback.
All reactions