Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [EnsLib] >  [LDAP] >  [Operation] >  [Standard]
Private  Storage   

class EnsLib.LDAP.Operation.Standard extends Ens.BusinessOperation

This is an Ensemble operation that uses the EnsLib.LDAP.Adapter.Outbound to make LDAP operation requests using the request classes: EnsLib.LDAP.Message.Add, EnsLib.LDAP.Message.Compare, EnsLib.LDAP.Message.Delete, EnsLib.LDAP.Message.Modify, EnsLib.LDAP.Message.Rename, EnsLib.LDAP.Message.Search

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 3 8


Summary

This is a Business Operation class.

The associated Adapter class is EnsLib.LDAP.Adapter.Outbound.

RequestResponse
EnsLib.LDAP.Message.Add EnsLib.LDAP.Message.Status
EnsLib.LDAP.Message.Compare EnsLib.LDAP.Message.Comparison
EnsLib.LDAP.Message.Delete EnsLib.LDAP.Message.Status
EnsLib.LDAP.Message.Modify EnsLib.LDAP.Message.Status
EnsLib.LDAP.Message.Rename EnsLib.LDAP.Message.Status
EnsLib.LDAP.Message.Search EnsLib.LDAP.Message.Results

Properties
%AlertStartTime %ConfigName %ConfigQueueName %LastActionTime
%LastHandledTime %LastReportedError %QuitTask %RequestHeader
%SessionId %SuperSession %WarnedLatest %isShadow
Adapter AlertGroups AlertOnError AlertRetryGracePeriod
ArchiveIO BusinessPartner DeferResponse FailureTimeout
IOLogEntry IgnoreSearchObjectNotInDIT InactivityTimeout NoFailWhileDisconnected
QueueCountAlert QueueWaitAlert ReplyCodeActions Retry
RetryCount RetryInterval ReturnLDAPErrorAsOK SendSuperSession
SuspendMessage ThrottleDelay

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OnClose %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %SuperSessionSet %ValidateObject AdapterName
AssignOneSetting CloseIOLogEntry CreateSearchResultsResponse CreateStatusResponse
DeferResponse EnumerateSettingsClose EnumerateSettingsExecute EnumerateSettingsFetch
GenerateSuperSession GetDeferredResponseToken GetMessageList GetMsgHdrRequestKey
GetProductionSettingValue GetProductionSettings GetPropertyConnections GetSettings
GetShadowInstance IncludeSuperSession NewIOLogEntry OnError
OnFailureTimeout OnGenerateSuperSession OnGetConnections OnGetReplyAction
OnInit OnKeepalive OnMessage OnMonitor
OnProductionStart OnProductionStop OnTearDown ProcessAdd
ProcessCompare ProcessDelete ProcessModify ProcessRename
ProcessSearch QueueName SaveIOLogEntry SendAlert
SendDeferredResponse SendRequestAsync SendRequestSync


Parameters

• parameter ADAPTER = "EnsLib.LDAP.Adapter.Outbound";
The type of adapter used to communicate with external systems
• parameter INVOCATION = "Queue";
2 modes: Queue, InProc
• parameter SETTINGS = "ReturnLDAPErrorAsOK:LDAP,IgnoreSearchObjectNotInDIT:LDAP";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

• property Adapter as EnsLib.LDAP.Adapter.Outbound;
The adapter instance
• property IgnoreSearchObjectNotInDIT as %Boolean [ InitialExpression = 1 ];
If the object definition being searched does not exist in DIT do not treat as error.
The default is to examine if set in the Search Message request and and if not use this operation setting. The Default operation setting is not to treat as an error
• property ReturnLDAPErrorAsOK as %Boolean [ InitialExpression = 1 ];
For LDAP Status errors that are not category Unavailable return $$$OK
so that an LDAP status response is returned.

Methods

• method CreateSearchResultsResponse(ByRef pResultsResponse As EnsLib.LDAP.Message.Results, pListOfBinaryAttributes As %List = "") as %Status
Method to construct response following Search. Called by ProcessSearch.
• method CreateStatusResponse(ByRef pStatus As %Status) as EnsLib.LDAP.Message.Status
Helper method to create Status Response
Uses ReturnLDAPErrorAsOK if Category is not Unavailable
• method ProcessAdd(pRequest As EnsLib.LDAP.Message.Add, Output pResponse As EnsLib.LDAP.Message.Status) as %Status
Add to an LDAP Server using EnsLib.LDAP.Message.Add.
Status of call returned in EnsLib.LDAP.Message.Status
If MakeLDAPErrorOK is True then the method returns $$$OK on LDAP Status error and the response EnsLib.LDAP.Message.Status contains the LDAP status information
The Adapter setting BaseDN is used as the default when calculating the DN from the request
• method ProcessCompare(pRequest As EnsLib.LDAP.Message.Compare, Output pResponse As EnsLib.LDAP.Message.Comparison) as %Status
Compare an Attribute value on an LDAP Server using EnsLib.LDAP.Message.Compare.
Comparison of call returned in EnsLib.LDAP.Message.Comparison
If MakeLDAPErrorOK is True then the method returns $$$OK on LDAP Status error and the response EnsLib.LDAP.Message.Status contains the LDAP status information
The Adapter setting BaseDN is used as the default when calculating the DN from the request
• method ProcessDelete(pRequest As EnsLib.LDAP.Message.Delete, Output pResponse As EnsLib.LDAP.Message.Status) as %Status
Delete an entry from a LDAP Server using EnsLib.LDAP.Message.Delete.
Status of call returned in EnsLib.LDAP.Message.Status
If MakeLDAPErrorOK is True then the method returns $$$OK on LDAP Status error and the response EnsLib.LDAP.Message.Status contains the LDAP status information
The Adapter setting BaseDN is used as the default when calculating the DN from the request
• method ProcessModify(pRequest As EnsLib.LDAP.Message.Modify, Output pResponse As EnsLib.LDAP.Message.Status) as %Status
Modify LDAP Server using EnsLib.LDAP.Message.Modify.
Status of call returned in EnsLib.LDAP.Message.Status
If MakeLDAPErrorOK is True then the method returns $$$OK on LDAP Status error and the response EnsLib.LDAP.Message.Status contains the LDAP status information
The Adapter setting BaseDN is used as the default when calculating the DN from the request
• method ProcessRename(pRequest As EnsLib.LDAP.Message.Rename, Output pResponse As EnsLib.LDAP.Message.Status) as %Status
Rename an Object on the LDAP Server using EnsLib.LDAP.Message.Rename
If MakeLDAPErrorOK is True then the method returns $$$OK on LDAP Status error and the response EnsLib.LDAP.Message.Status contains the LDAP status information
The Adapter setting BaseDN is used as the default when calculating the DN from the request
• method ProcessSearch(pRequest As EnsLib.LDAP.Message.Search, Output pResultsResponse As EnsLib.LDAP.Message.Results) as %Status
Search LDAP Server using EnsLib.LDAP.Message.Search
Results returned in EnsLib.LDAP.Message.Results
If MakeLDAPErrorOK is True then the method returns $$$OK on LDAP Status error and the response is a EnsLib.LDAP.Message.Status


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.