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

persistent class EnsLib.LDAP.Message.Add extends Ens.Request, EnsLib.LDAP.Message.EntityIdentification

Request class to make an LDAP Add request using operation EnsLib.LDAP.Operation.Standard

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary

Properties
Attributes Base BinaryAttributes DN
Parent RDN objectClass

Methods
%%CLASSNAMELogicalToStorage %%CLASSNAMEStorageToLogical %AddToSaveSet %AddToSyncSet
%BMEBuilt %BuildIndicesAsync %BuildIndicesAsyncResponse %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %CompareContents
%ComposeOid %ConstructClone %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawHTMLForm %DrawHTMLTable %Exists %ExistsId
%Extends %GUID %GUIDSet %GetContentType
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDeleteFinally
%OnDetermineClass %OnOpenFinally %OnSaveFinally %OnTimeout
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %ProcessSubmit %PurgeIndices %Reload
%RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack %Save
%SaveDirect %SaveIndices %SerializeObject %SetModified
%ShowContents %ShowContentsHead %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject %ValidateTable CalculatedDN
GetStatsDimension NewResponse XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


Properties

• property Attributes as array of %String(MAXLEN="");
Attributes is an array of strings where string is:
AttributeName=Value
and value is single value and attribtues with multiple values are are entered as separate array elements.
The exception to this requirement is if the AttributeName is objectClass in which case the value can be a comma separate list of objectClasses
	Set tRequest=##Class(EnsLib.LDAP.Message.Add).%New()
	Set tRequest.DN = "m-oid=1.2.840.113556.1.8000.2448.2.1,ou=attributetypes, cn=intersystems, ou=schema"
	Set tRequest.objectClass="metaAttributeType,metaTop,top"
	Set tCount = 0
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-oid=1.2.840.113556.1.8000.2448.2.1",tCount)
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-name=intersystems-Namespace",tCount)
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-description=Default namespace a user connects to",tCount)
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-equality=caseIgnoreMatch",tCount)
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-substr=caseIgnoreSubstringsMatch",tCount)
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-syntax=1.3.6.1.4.1.1466.115.121.1.15",tCount)
	Set tCount = tCount+1
	Do tRequest.Attributes.SetAt("m-singleValue=TRUE",tCount)
• property BinaryAttributes as array of %String(MAXLEN="");
BinaryAttributes is an array of strings where string is AttributeName=Value where the value needs to be set as a binary.
• property objectClass as %String(MAXLEN="");
Optional separate property of comma separate list of objectClasses
Can be specified in Attributes.


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