I need to create a user for my application during deployment. I want to prevent other users from logging in with this user. How to disable interactive login for this user using C #?
In other words, how to set SeDenyInteractiveLogonRight for this user?
source share