Home > Class Reference > HSLIB namespace > EnsLib.LDAP.Message.Rename

EnsLib.LDAP.Message.Rename

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

SQL Table Name: EnsLib_LDAP_Message.Rename

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

Property Inventory

Properties

property DeleteOldRDN as %Boolean [ InitialExpression = 1 ];
Delete old RDN after rename. Default is delete.
Property methods: DeleteOldRDNDisplayToLogical(), DeleteOldRDNGet(), DeleteOldRDNGetStored(), DeleteOldRDNIsValid(), DeleteOldRDNLogicalToDisplay(), DeleteOldRDNLogicalToXSD(), DeleteOldRDNNormalize(), DeleteOldRDNSet(), DeleteOldRDNXSDToLogical()
property NewParent as %String);
Optional New Parent.
Property methods: NewParentDisplayToLogical(), NewParentGet(), NewParentGetStored(), NewParentIsValid(), NewParentLogicalToDisplay(), NewParentLogicalToOdbc(), NewParentNormalize(), NewParentSet()
property NewRDN as %String);
New RDN. If left empty then NewParent will be applied to existing RDN
Property methods: NewRDNDisplayToLogical(), NewRDNGet(), NewRDNGetStored(), NewRDNIsValid(), NewRDNLogicalToDisplay(), NewRDNLogicalToOdbc(), NewRDNNormalize(), NewRDNSet()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.MessageBody)

^Ens.MessageBodyD(ID)
=
%%CLASSNAME

Storage Model: Storage (EnsLib.LDAP.Message.Rename)

^Ens.MessageBodyD(ID,"Rename")
=
DN
NewParent
DeleteOldRDN
Base
NewRDN
Parent
RDN
FeedbackOpens in a new window