Be Excellent To Each Other https://www.beexcellenttoeachother.com/forum/ |
|
.NET! Active Directory! https://www.beexcellenttoeachother.com/forum/viewtopic.php?f=3&t=1840 |
Page 1 of 1 |
Author: | Plissken [ Thu Sep 11, 2008 15:46 ] |
Post subject: | .NET! Active Directory! |
Right. I've got an ASP.NET page that needs to do create an InetOrg object in our Active Directory and place it in a specific place. I've got the InetOrg object created OK, but it places it automagically in the Users group. What I need to do is move it to the Wirelss OU. Effectively, the Distinguished Name needs to change from "CN=username, CN=Users, DC=domain" to "CN=username, OU=MAC-Wireless, DC=domain" DirectoryEntry.MoveTo() appears not to work, I suspect because I'm shifting from a container to an OU, and not groups. I think. Unless I'm doing something really wrong. Haylp! Haylp! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |