Using DirectoryServices to create a users Home Folder (Local Path)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All

I have been able to use DirectoryServices to creat the account but I cannot seem to find a way to assign the Home Folder (Local Path) to a path programatically. I am doing this is C#. Any info would be greatly appriciated

-Tdaley
 
I have been able to use DirectoryServices to creat the account but I cannot seem to find a way to assign the Home Folder (Local Path) to a path programatically. I am doing this is C#. Any info would be greatly appriciated.

DirectoryServices will *NOT* do anything here for you - you have to
create the folder for the user manually, and set the appropriate
permissions on it.

Once that's done, THEN and only then can you assign the value to the
"HomeDirectory" property of the AD user object.

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top