Author: Prysson | Posted on: 7/18/2008 10:14:42 AM | Views : 359

I am querying ldap and I return a users entry  one of the property I need to grab the value of actually has multiple dimmensions..mainly becuase a user might have anywhere from 1-4 entries for that property name.

 as a result when I try to dump the value for the property into datatable instead of getting a value.tostring I end up with

 

system.object[]

 

I am trying to figure out how I can capture each of the values in this..what appears to be an array..

 

I tried to do a string[] a = entry.Properties["property"].Value.ToString()

 

but that gives me an error Cannot implicitly convert type string to string[]

 

Kind of at a loss here.

 

 

 

 
...

Go to the complete details ...