Is it possible to check if an account has "Logon as service" right programatically. I know how to setup and check this manually but I would like to check it from C# code.
I need to check if this right is enabled on domain level, not just on that particular server.
Edit: I am looking to find out if user "Logon on as a service" is defined at domain group policy level.