all groups > dotnet security > august 2006 >
You're in the

dotnet security

group:

Domain isolation question.



Domain isolation question. ttan
8/18/2006 3:44:01 PM
dotnet security: I'm using c# to created a OU folder and named it "Isolate" in windows setting.

DirectoryEntry newEntry = de.Children.Add("ou=Isolate", "organizationalUnit");
newEntry.CommitChanges();

My question is how do I move computer accounts from domain to this folder?

Re: Domain isolation question. Joe Kaplan (MVP - ADSI)
8/18/2006 5:57:56 PM
If you want to do this programmatically in .NET the same way as your OU
creation, you would use the MoveTo method on the DirectoryEntry class.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
[quoted text, click to view]

Re: Domain isolation question. ttan
8/23/2006 1:55:01 PM
Thank you for your tip, I get it to work with MoveTo()

[quoted text, click to view]
AddThis Social Bookmark Button