I can get the primaryGroupID but when it goes to display it on a console application, it decides that it's too good for me. Rolling out an Index out of range etc etc. Which means the ID is unhandled. The thing is that it's been so long since I have done an array to make it so these things are readable and I can't find anything online to help me remember.
[Code]
Dim Results As SearchResultCollection = objSearch.FindAll()
Dim objpgID As Integer
For Each Result As SearchResult In Results
objpgID = Result.Properties(
"primaryGroupID").Item(0)
Console.WriteLine(objpgID)
Console.WriteLine(Result.Path)[/Code]
This is in a try catch to handle the exceptions.
I like stuff and it has a lot to do with how I do.