Jump to content

Ben Vigil

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Agent Count
    > 6000 Agents
  1. In a plugin, how do I determine if the logged on Automate user is an admin (or Super Admin, I guess)? For example, I can do this... IControlCenter2 cc = (IControlCenter2)host; UserInfo user = cc.GetUser(cc.UserID); But the only thing I see in the UserInfo object is cc.Supervisor. For example, the IPermissions interface passes the value isSuperAdmin to the plugin. public Hashtable GetPermissionSet(int userId, bool isSuperAdmin, string userClasses) This is the value I'd like to retrieve on the fly.
×
×
  • Create New...