Table of Contents

Class DirectoryObjectDialog

Namespace
Innova.Prism.Library.Security
Assembly
Innova.Prism.Library.dll

This dialog wraps the COM directory object picker (ObjSel.IDsObjectPicker).

public class DirectoryObjectDialog : CommonDialog
Inheritance
DirectoryObjectDialog

Remarks

Unmanaged resources are only allocated in RunDialog(IntPtr), and they are also freed before the function returns.

Constructors

DirectoryObjectDialog()

Properties

MultiSelect

If true (not default), then multiple principals can be selected.

ResultProperties
Selections

The list of selected objects. It's only valid after a successful run, and not after calling Reset().

TargetComputer

The target computer, or if null (default), then the local computer.

UnderlyingScopeObjects

Provides read-write access to the underlying scope objects.

Methods

AddScope(DirectoryScope, bool, bool, bool, bool, bool, bool, bool)

An easy-to-use method which adds a new element to UnderlyingScopeObjects.

Reset()
RunDialog(IntPtr)

Events

PostInitCallback

Gets called after the dialog is initialized. You can inspect but not change the values. Return false to cancel the dialog.

PreInitCallback

Gets called before the dialog is initialized. You can inspect and change the values. Return false to cancel the dialog.