I am aware that I need to use System.IO
and System.Security.AccessControl
to create folders and set permissions respectively, which I was able to achieve locally on my drive, but, I want to connect to a desktop/server on a network with a specific domain and a specific admin account that is allowed to access the given server and can create folders and set permissions for given users.
So, in short, how should I go about connecting to a server with a specific user account to create a folder and set permissions for those folders on that server for other users?
A short working example would be wonderful, but even a Microsoft document link will be highly appreciated, I am not primarily a .Net
developer and I am just really confused about where to begin.
Thank you :)