Alex Rivera | Logout

Check if AD account has "Logon on as a service" right in Active Directory

Asked 2009-10-01T19:24:46.187
9

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.

Edit
Report

1 Answer

0

I think it's per-server, not an AD property at all.

answered 2009-10-01T19:30:58.810

Your Answer