Hi,

Does anyone knows how to display the Window's "Select User or Group" dialog box through C# or VB.NET and then retrieve whatever value it returns upon pressing the OK button?

You can normally see this dialog through many places and most common being,

* Open Windows Explorer
* Locate any folder
* Right click on the folder and click properties
* Go to the "Security" tab and click on the "Advanced" button at the bottom right of the dialog
* There you can see the "Add", "Edit", "Remove" buttons for mucking around with permissions
* Click on the "Add" button

Now that will bring on the dialog I am after. I need to show that dialog via code and when the user press OK after selecting a user or group I need to retrieve what that value it.

What I have is an application where a user's fully qualified domain name is stored in the SQL Server database where it's used throughout for auditing purposes and also defining our own set of security on the program which isn't always possible even by grouping users at the domain level.

Is this possible?

Cheers