GithubHelp home page GithubHelp logo

tulpep / active-directory-object-picker Goto Github PK

View Code? Open in Web Editor NEW
84.0 84.0 20.0 333 KB

The standard Active Directory object picker dialog for .NET

License: Other

C# 100.00%
active-directory c-sharp nuggets picker windows

active-directory-object-picker's People

Contributors

ajevansch avatar dahall avatar fgreinacher avatar marcelgosselin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

active-directory-object-picker's Issues

Does it support WPF

As the title suggests, does it support WPF? Or do you have any guidance for resources which might? Thank you...

When computer is unchecked, an exception occured

When tracking a problem when using the component, I just downloaded the source code from github, open visual studio and launched the debugger.
When playing with option, I was able to trigger the problem.

When only computer is unchecked, an exception occurs.
All other components can be unchecked, the exception doesn't occurs.
All others are default
image

image

Occurs on Windows 10 latest version x64 bits.

Any other option with computer checked works
image

Assign values to the object selection area by default

Say I want to search for JSMITH, is there a property to assign this directly into the 'Enter the object names to select' area?

I know I can open it and type in JSMITH, but I already have the JSMITH value in the dataset and assigning it directly would be awesome as it might be JSMITH;JDOE;BCLINTON etc.

SID for BuiltIn group is wrong

Hi,
when i query the objectSID for a BuiltIn group the SID has a wrong format and the string is different to what is actually in the objectSID attribute in AD.
This only occurs with BuiltIn groups.
image

Am I missing something?

Sebastian

Get rid of ActiveDs.dll?

ActiveDs.dll only seems to be used by Active-Directory-Object-Picker/Tulpep.ActiveDirectoryObjectPicker/NameTranslator.cs which in turn is only be used by Active-Directory-Object-Picker/ADPickerTester/MainForm.cs.

Therefore it seems that NameTranslator could be moved to ADPickerTester which in turn would make ActiveDs.dll obsolete in the NuGet package.

Would you accept a PR that get rid of this dependency chain?

Q: how do I know how to present the result DO user name

i.e. as a local user, ".\user" along these lines, when the resulting DirectoryObject.Path is something like this, "WinNT://group/machineName/user". Any guidance around that, if you please. With group and machineName, ostensibly being the name of the local working group and machine names, respectively. Thanks so much...

Missing reference to System.Windows.Forms in Nuget package

Hello!

The Nuget package doesn't add a reference to System.Windows.Forms if this reference is not present in the project (like in WPF-projects). This reference is required by the dialog. It would be great if you could modify the Nuget package.

Best regards

Rufus

Dialog being shown in top-left of screen.

Is it possible to include a property such as FormStartPosition or similar to control when showing the dialog in order to set its position on the screen to the center of the owner window? at the moment, the dialog always appears in the top-left of the screen.

.NET Versions, NuGet and Symbols

Issues #17 and #21 both asked for different versions. I'm specifically asking for a common NuGet model of deploying multiple libraries compiled to different versions and also include symbol files and XML documentation to help with writing and debugging. I have forked and made the changes to the project file (allowing for compiling against .NET versions 2.0, 3.5, 4.0 and 4.5.2) along with the changes to product debug (PDB) and XML documentation files and am about to submit a pull request. I have also added support for credentials (Issue #14) and have changed the project, where applicable, to remove simple properties to auto-properties.

Get object SID and domain name

Is there a way to get these information? I can only seem to obtain the name and the path. The latter can be used to somehow get the domain. But how do I get the SID?

Allow for WPF shown dialog ownership

Currently, as far as I am aware, supports either "no ownership" or a WinForms form ownership. Neither is that appropriate in my use case, I am deploying into a WPF scaffold, so please allow for the System.Windows.Window based approach, i.e. as possibly via System.Windows.Application.Current.MainWindow, for instance, or any Window based point of origin. In my case, I actually do have a second Window source, but you get the point.

var d = new DirectoryObjectPickerDialog();
d.ShowDialog();

Get Domain+username when select users

Hello when i select the users from the dialogbox and click ok button,
it just display the username
how to add it full path/name (domain)

When select Name | Folder Path in dialogbox
to save information in combobox1.Items.Add with result: Folder\Name
so it will be result like: Domain\Administrator
how i can make that in code?

Reducing .NET version

Hello,

Your library successfully build with 3.5 .Net framwork version. It is possible to reduce framework version in project settings to 3.5? There no reason to use 4.6.1. Or you can make several versions with different .Net framework.
Also can you specify restriction for .Net vesion in nuget package? Now I can install last package in 4.0 (for sample) project. And project is not building.

Thank you.

How to get user's SID?

I am testing the example code. But I do not see how to retrieve the SID of the selected user?

System.AccessViolationException

Sometimes calling DirectoryObjectPickerDialog.ShowDialog() will cause a System.AccessViolationException. Usually, this can be replicated by multiple calls in the same session. Use of the object is wrapped in a using statement. Today, I had the application in the VS debugger and it downloaded a source code file to show me where the exception occurred.

AccessViolationException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.