Index out of Bounds on primaryGroupID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SlotReservation
    New Member
    • Aug 2010
    • 1

    Index out of Bounds on primaryGroupID

    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)

    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
  • MrMancunian
    Recognized Expert Contributor
    • Jul 2008
    • 569

    #2
    So, what is it exactly you want from us? :-)

    Steven

    Comment

    Working...