This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

com api - getuserlist() KeyNamedPair

I'm writing a script to generate the user list in our environment. using the method - Getuserlist() I can get the number of users using .Count. However that seems like all I can do with it? The type is listed as a KeyNamedPair, not KeyValuePair which means there's not an explicit or implicit conversation that seems to work. I guess really thats question, is it possible to convert to a type I can use to produce the list of user accounts? I tried dictionaries, lists, namedvaluecollections etc.. no matter how I do the conversation I always get the same error about the com object not being able to be converted. Any ideas here?