Tulpep / Active-Directory-Object-Picker

The standard Active Directory object picker dialog for .NET
Other
87 stars 20 forks source link

Assign values to the object selection area by default #16

Closed poweredbyporkers closed 4 years ago

poweredbyporkers commented 8 years ago

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.

ricardopolo commented 8 years ago

If you manage to do that I'll be willing to accept your PR and release a new version. Best regards!!

dahall commented 6 years ago

I have done quite a bit of research into this and have determined that there is not a mechanism supported by the Microsoft API to do this. The IDsObjectPicker interface has an Initialize method, but the structure passed in as a parameter does not have a value associated with the initially selected object.