views:

13

answers:

0

Guys,

I need to select user groups (from domain or local) by means of the standard IDsObjectPicker dialog in C#. I can retrieve the group names perfectly, now wanted to read the SID also as an extra attribute. And going to be mad.

I found that many people into the internet already posted this question many different places, some guys tried to reply but all of them did reply with C++ point of view. I need to do this in C# using the interop. and the translation in C# is not that easy because in this call I have to handle an array of variant to get the result.

I am posting the original question that I found somebody also asked several places but never got a appropriate answer:

Has ANYONE been successful in impementing the ObjectPicker dialog and getting additional attributes? I as well as a lot of other people around the net are trying to retrieve the objectSID from this call. I am using c# + Interop and have been successful only when no additional attributes are requested. Thank you very much for any advise here.

I hope somebody will be so kind to help me, and possibly many others !!