TCnDirectorySearcher Class
Performs queries against Active Directory Domain Services.
CNClrLib.Control.Base.TClrBaseComponent
CNClrLib.Component.DirectorySearcher.TCnDirectorySearcher
type TCnDirectorySearcher = class(TClrBaseComponent) end;
The TCnDirectorySearcher type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates and initializes a TCnDirectoryEntry instance. (Overrides TClrBaseComponent.Create(TComponent).) | |
Destroy | Frees the resources allocated with a TCnDirectorySearcher instance. (Overrides TClrBaseComponent.Destroy.) |
Name | Description | |
---|---|---|
Asynchronous | Gets or sets a value that indicates if the search is performed asynchronously. | |
AttributeScopeQuery | Gets or sets the LDAP display name of the distinguished name attribute to search in. Only one attribute can be used for this type of search. | |
CacheResults | Gets or sets a value indicating whether the result is cached on the client computer. | |
ClientTimeout | Gets or sets the maximum amount of time that the client waits for the server to return results. If the server does not respond within this time, the search is aborted and no results are returned. | |
DefaultClrObject | Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.) | |
DerefAlias | Gets or sets a value indicating how the aliases of objects that are found during a search should be resolved. | |
DirectorySearcher | Represents property | |
DirectorySynchronization | Gets or sets an object that represents the directory synchronization control to use with the search. | |
ExtendedDN | Gets or sets a value that indicates the format of the distinguished names. | |
Filter | Gets or sets a value indicating the Lightweight Directory Access Protocol (LDAP) format filter string. | |
PageSize | Gets or sets a value indicating the page size in a paged search. | |
PropertiesToLoad | Gets a value indicating the list of properties to retrieve during the search. | |
PropertiesToLoadIntf | Gets a value indicating the list of properties to retrieve during the search. | |
PropertyNamesOnly | Gets or sets a value indicating whether the search retrieves only the names of attributes to which values have been assigned. | |
ReferralChasing | Gets or sets a value indicating how referrals are chased. | |
SearchRoot | Gets or sets a value indicating the node in the Active Directory Domain Services hierarchy where the search starts. | |
SearchScope | Gets or sets a value indicating the scope of the search that is observed by the server. | |
SecurityMasks | Gets or sets a value indicating which security access information for the specified attributes should be returned by the search. | |
ServerPageTimeLimit | Gets or sets a value indicating the maximum amount of time the server should search for an individual page of results. This is not the same as the time limit for the entire search. | |
ServerTimeLimit | The ServerTimeLimit property gets or sets a value indicating the maximum amount of time the server spends searching. If the time limit is reached, only entries that are found up to that point are returned. | |
SizeLimit | Gets or sets a value indicating the maximum number of objects that the server returns in a search. | |
Sort | Gets or sets a value indicating the property on which the results are sorted. | |
Tombstone | Gets or sets a value indicating whether the search should also return deleted objects that match the search filter. | |
VirtualListView | Gets or sets a value indicating the virtual list view options for the search. |
Name | Description | |
---|---|---|
Dispose | Releases the resources used by the Component. (Inherited from TClrBaseComponent.) | |
DoGetDefaultClrObject | Represents method | |
DoGetDotNetBaseComponent | Represents method | |
DoOnPropertiesToLoadChange(TObject) | Represents method | |
DoOnSortOptionChange(TObject) | Represents method | |
FindAll | Executes the search and returns a collection of the entries that are found. | |
FindOne | Executes the search and returns only the first entry that is found. | |
GetClrObject | Represents method | |
Notification(TComponent,TOperation) | Represents method | |
RegisterEventCallBack(ClrWString,Pointer) | Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.) | |
RegisterEventSource | Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.) | |
UnRegisterEventCallBack(ClrWString,Pointer) | Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.) | |
UnRegisterEventSource | Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.) |
See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.