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

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

Request class to make an LDAP Modify request using operation EnsLib.LDAP.Operation.Standard
The properties allow adding, replacing or deleting attributes
For example to add a uniqueMember:

	Set tRequest=##Class(EnsLib.LDAP.Message.Modify).%New()
	Set tRequest.DN="cn=Administrators,ou=groups,ou=system"
	Do tRequest.AddAttributes.SetAt("uniqueMember=uid=James,ou=Engineers,dc=SamplePerson,dc=local",1)

To delete a specific Attribute/Value pair specify the value
To delete all attributes of specific name leave the value blank
For example to remove an attribute/value pair:
	Set tRequest=##Class(EnsLib.LDAP.Message.Modify).%New()
	Set tRequest.DN="cn=Administrators,ou=groups,ou=system"
		 Do tRequest.DeleteAttributes.SetAt("uniqueMember=uid=James,ou=Engineers,dc=SamplePerson,dc=local",1)

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6


Summary

Properties
AddAttributes AddBinaryAttributes Base DN
DeleteAttributes DeleteBinaryAttributes Parent RDN
ReplaceAttributes ReplaceBinaryAttributes

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 AddAttributes as array of %String(MAXLEN="");
Array of non Binary Attributes/Value pairs to add.
• property AddBinaryAttributes as array of %String(MAXLEN="");
Array of Binary Attributes to add.
• property DeleteAttributes as array of %String(MAXLEN="");
Array of Attributes/Value pairs to delete.
• property DeleteBinaryAttributes as array of %String(MAXLEN="");
• property ReplaceAttributes as array of %String(MAXLEN="");
Array of non Binary Attributes/Value pairs to replace.
• property ReplaceBinaryAttributes as array of %String(MAXLEN="");
Array of Binary Attributes/Value pairs to replace.


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