rtanner
July 22nd, 2005, 06:25 PM
Hi,
In our 2003 multi forrest environment, user's MyDocuments folders are redirected. Occasionally users get deleted from AD but their MyDocuments folder didn't get removed and I'm assuming it's because there is no longer an associated SID, I cannot delete them without taking ownership. I am trying to do that programatically and all I've been able to find is a VisualBasic example to use in a 2000 environment.
How do I take ownership in a 2003 environment using C#?
Thanks,
Rob Tanner
Linfield College
In our 2003 multi forrest environment, user's MyDocuments folders are redirected. Occasionally users get deleted from AD but their MyDocuments folder didn't get removed and I'm assuming it's because there is no longer an associated SID, I cannot delete them without taking ownership. I am trying to do that programatically and all I've been able to find is a VisualBasic example to use in a 2000 environment.
How do I take ownership in a 2003 environment using C#?
Thanks,
Rob Tanner
Linfield College