Click here to Skip to main content
15,311,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am trying to impliment a UI that will create a user within my application that will link to a Windows account.


The easiest way I can think to do this would be to use the already built in User and Groups dialog browse, but cannot find it anywere.

I would like to use the Users and Groups Dialog (the same one as when you want to set folder permissions etc.) (The Form is titled Select Users, Computers, or Groups).


I have tried this, but the problem is the code is in C++ and not c# and the .net version produces a runtime error (running on windows XP or higher). http://www.codeproject.com/KB/winsdk/bfobjectselection2.aspx


I would like to get a user from the Browser Form and add it to the Users allowed in my application.

Posted

1 solution

You can find a .NET wrapper for all the active directory common dialogs here,

http://adui.codeplex.com/[^]
   
Comments
Kelvin Armstrong 11-Jul-10 4:08am
   
Reason for my vote of 5
Fantastic!!! Thank you so much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900