Tulpep/Active-Directory-Object-Picker


The standard Active Directory object picker dialog for .NET

License: MS-PL

Language: C#

Keywords: active-directory, c-sharp, nuggets, picker, windows


Active Directory Object Picker Build status

The standard Active Directory object picker dialog for .NET

Screenshot

This project is based on a Active Directory Common Dialogs .NET (ADUI) created in 2004 by Armand du Plessis. It has been updated and make it working with 64 bit Windows Editions.

How to use it

You can install the lastest version using NuGet

Install-Package Tulpep.ActiveDirectoryObjectPicker

And use it this way:

DirectoryObjectPickerDialog picker = new DirectoryObjectPickerDialog()
{
    AllowedObjectTypes = ObjectTypes.Computers,
    DefaultObjectTypes = ObjectTypes.Computers,
    AllowedLocations = Locations.All,
    DefaultLocations = Locations.JoinedDomain,
    MultiSelect = true,
    ShowAdvancedView = true
};


if (picker.ShowDialog() == DialogResult.OK)
{
    foreach (var sel in picker.SelectedObjects)
    {
        Console.WriteLine(sel.Name);
    }
}

This repository contains a Visual Studio Test Project if you want a working example.

Project Statistics

Sourcerank 8
Repository Size 294 KB
Stars 34
Forks 9
Watchers 12
Open issues 3
Dependencies 0
Contributors 4
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Ricardo Polo Marcel Gosselin Florian Greinacher ajevansch

Packages Referencing this Repo

Tulpep.ActiveDirectoryDialogs
Active Directory Common Dialogs.
This package is no longer available on NuGet
Tulpep.ActiveDirectoryObjectPicker
Active Directory Object Picker.
Latest release 2.2.129 - Updated - 34 stars

Something wrong with this page? Make a suggestion

Last synced: 2017-11-17 11:20:46 UTC

Login to resync this repository