I'm able to read all possible user groups including custom ones, but I can't find a way to read the all privilege names using the API. Is there a way to accomplish this? I want to do this so I can check the current user's privileges using User.HasPrivilege. I can't do that if I don't have the name of the privilege to check for and I want to be able to handle custom privileges without having to hard code them.
↧