TCnADChangeNotifier Class

The TCnADChangeNotifier is used to register active directory objects for monitoring changes to the objects.

Namespace: CNClrLib.Component.ADChangeNotifier
TComponent
  CNClrLib.Control.Base.TClrBaseComponent
    CNClrLib.Component.ADChangeNotifier.TCnADChangeNotifier
type
 TCnADChangeNotifier = class(TClrBaseComponent)
 end;

The TCnADChangeNotifier type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TCnADChangeNotifier instance. (Overrides TClrBaseComponent.Create(TComponent).)

Destroy

Frees the resources allocated with a TCnADChangeNotifier instance. (Overrides TClrBaseComponent.Destroy.)

Top
Show:
 NameDescription
Aliases

The Aliases property contains one of the values of CNClrLib.Control.EnumTypes.TDereferenceAlias that specifies the dereference alias behavior.

AuthType

The AuthType property contains the supported authentication types.

ClientCertificates

The ClientCertificates property specifies one or more client certificates to send for authentication.

ConnectionTimeout

The ConnectionTimeout property contains the length of time, in seconds, before the Ldap Connection times out.

Credential

The Credential property contains the network credentials for the object.

DefaultClrObject

Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.)

Port

The Port number to use when connecting to the server.

RequestTimeout

The time, in seconds, until the request times out.

SearchRequests

Gets the collection of the TCnSearchRequest objects.

Server

A string specifying the server which can be a domain name, LDAP server name or dotted strings representing the IP address of the LDAP server. Optionally, this parameter may also include a port number, separated from the right end of the string by a colon (:).

SizeLimit

The SizeLimit property contains the maximum number of objects returned in the search request.

TimeLimit

The TimeLimit property contains a TimeSpan as integer that specifies the time span allowed, if the server processes the search request.

Top
Show:
 NameDescription
AbortNotifications

This AbortNotifications method aborts all the registered Active directory objects.

Dispose

Releases the resources used by the Component. (Inherited from TClrBaseComponent.)

DoGetDefaultClrObject

Represents method DoGetDefaultClrObject. (Overrides TClrBaseComponent.DoGetDefaultClrObject.)

DoGetDotNetBaseComponent

Represents method DoGetDotNetBaseComponent. (Overrides TClrBaseComponent.DoGetDotNetBaseComponent.)

GetClrObject

Represents method GetClrObject. (Inherited from TClrBaseComponent.)

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.)

RegisterNotification(String,String,TSearchScope,TArray)

The RegisterNotification method registers the active directory object to be monitored for changes.

RegisterNotifications

The RegisterNotification method registers the active directory object to be monitored for changes.

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.)

Top
Show:
 NameDescription
OnObjectChanged

Occurs when the registered Active Directory object changes.

Top

See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.