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

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

Request class to make an LDAP Rename request using operation EnsLib.LDAP.Operation.Standard
For example to move an RDN to a new parent:
Set tRequest=##Class(EnsLib.LDAP.Message.Rename).%New() Set tRequest.RDN="uid=Joe" Set tRequest.Parent = "ou=QD Engineers,dc=SamplePerson,dc=local" Set tRequest.NewParent = "ou=Engineers,dc=SamplePerson,dc=local" Set tRequest.DeleteOldRDN = 1
For example to rename an RDN:
Set tRequest=##Class(EnsLib.LDAP.Message.Rename).%New() Set tRequest.RDN="uid=Joe" Set tRequest.NewRDN="uid=Joey" Set tRequest.Parent = "ou=QD Engineers,dc=SamplePerson,dc=local" Set tRequest.DeleteOldRDN = 1

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3


Summary

Properties
Base DN DeleteOldRDN NewParent NewRDN
Parent RDN

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 DeleteOldRDN as %Boolean [ InitialExpression = 1 ];
Delete old RDN after rename. Default is delete.
• property NewParent as %String(MAXLEN="");
Optional New Parent.
• property NewRDN as %String(MAXLEN="");
New RDN. If left empty then NewParent will be applied to existing RDN


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