For the life of me I can't remember how to get the array to handle the primaryGroupID for a vb.net console app. Here is what I have so far.
*array not included as I am currently researching available options(and no one seems to have an available answer on google)
*array not included as I am currently researching available options(and no one seems to have an available answer on google)
Code:
Dim Results As SearchResultCollection = objSearch.FindAll()
Dim objpgID As String
For Each Result As SearchResult In Results
objpgID = Result.Properties("primaryGroupID").Item(0)
Console.WriteLine(objpgID)
Console.WriteLine(Result.Path)
Try
'Array to handle primaryGroupID here.
Catch ex As Exception
End Try
Comment