0
Answer

How to set folder security permissions?

Photo of paul.steele

paul.steele

21y
2.1k
1
I am writing a program to simplify the creation of user accounts. Currently it creates an account in the specified OU, fills in all the pertinent user information such as first/last name, password, login script, home folder, and adds the user to a group. It also creates the indicated home folder (located at \\server\users\username). The one thing I have not been able to figure out is how to set the security permissions for the home directory. I want to give the user full rights to his home directory, but can't find any sample code on how to do that operation in a C#.NET environment. I've also been told that it's helpful to set the owner of the home folder to the assigned user. Any pointers on this topic would be greatly appreciated!

Answers (0)