sirbounty
asked on
directoryentry value
I'm creating a group using this:
Dim group As DirectoryEntry = adEntry.Children.Add(strCN ,"group")
At this point, while debugging, I can use
debug.print group.justcreated
and it returns True.
However, if I try to access that value in my code, I get
justcreated is not a member of system.directoryservices.d irectoryen try
Dim group As DirectoryEntry = adEntry.Children.Add(strCN
At this point, while debugging, I can use
debug.print group.justcreated
and it returns True.
However, if I try to access that value in my code, I get
justcreated is not a member of system.directoryservices.d
ASKER
.exists doesn't work for what I'm trying to do... this is not a directory as in a folder, this is a directory as in Active Directory object...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Holidays...will check soon and get back to you. Thanks.
ASKER
Brilliant. I've maxed the points because this is going to be very useful. Thanks! :^)
You can see the list of members here:
http://msdn.microsoft.com/en-us/library/system.directoryservices.directoryentry_members(v=vs.71).aspx
I guess what you see could be the reason of incompatibility between different versions of .NEt Framework.
I suggest to you Exist method instead of justcreated . Exists is in all version of ,Net Framework.
debug.print group.Exists("c\MyFolder")