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
 
Back
Top