title: C#. How to programmatically grant User Log On as a Service
body: <p>I've searched through the internet, but haven't found any solution in c#. Does anybody know how to give user right to log on as a Service in c#?</p>