Hi there!
iam trying a code snippet from MSDN heres the link :
http://msdn.microsoft.com/library/de...ing_groups.asp
ive tried the code but it throws an error :
A constraint violation occoured
ith this code taken from the link above but modified with my AD
Objects.
So all i wanna do is add a Manager group to the OU Dregis and give it
those rights. Wont work?! Any ideas?
THX!
DirectoryEntry ou = de.Children.Find("OU=Dregis");
DirectoryEntry mgr = ou.Children.Add("CN=Managers","group");
mgr.Properties["groupType"].Value =
ActiveDs.ADS_GROUP_TYPE_ENUM.ADS_GROUP_TYPE_GLOBAL _GROUP;