Last post Apr 18, 2006 10:28 AM by iglooc00l
Apr 18, 2006 01:24 AM|iglooc00l|LINK
First I'd like to say thanks to dunnry!
I've read and "almost" understand how the example that binds to a control on the Common DirectoryServices post works, but I'm stuck on one point. I'm pulling the distinguishedname attribute from AD and I'd like to split the value with a string. I'd like
the new string to not show the CN or the DC and only two OUs of the DN. I'm sorry this is so rudimentary and not entirely related to LDAP. Do I have perform a foreach and split prop? If so, I'm just not 100% sure on how to go about it.
CN=LastName\, FirstName, OU=Level_1, OU=Level_2, OU=Level_3, OU=Level_4,
DC=Level_1, DC=Level_2, DC=Level_3, DC=Level_4, DC=Level_5
Level_2, OU=Level_3, OU=Level_4
Apr 18, 2006 05:31 AM|jcw14|LINK
Just do something like this
Apr 18, 2006 10:19 AM|dunnry|LINK
Apr 18, 2006 10:28 AM|iglooc00l|LINK
Thank you for your replies. I'm eager to try it out tomorrow at work.