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
Parameters
|
Properties
|
Methods
|
Queries
|
Indices
|
ForeignKeys
|
Triggers
|
|
3
|
|
|
|
|
|
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