Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6733

TestStand API Get a List of all Possible User Privileges

$
0
0

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.


Viewing all articles
Browse latest Browse all 6733

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>