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

class EnsLib.LDAP.Message.EntityIdentification extends %RegisteredObject

Super class for Message types that are identified with DN or CN and Parent or Base Base class for operation messages Base class to LDAP request messages used by operation EnsLib.LDAP.Operation.Standard

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4 1


Summary

Properties
Base DN Parent RDN

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
CalculatedDN

Subclasses
EnsLib.LDAP.Message.Add EnsLib.LDAP.Message.Compare EnsLib.LDAP.Message.Delete
EnsLib.LDAP.Message.Modify EnsLib.LDAP.Message.Rename

Properties

• property Base as %String(MAXLEN="");
Optional Base
• property DN as %String(MAXLEN="");
Optional Distinguished name of object
If not specified the Distinguished name used in the request is calculated from the other properties.
• property Parent as %String(MAXLEN="");
Optional Parent of CN
• property RDN as %String(MAXLEN="");
Relative Distinguished Name of object. Includes naming attribute but if not specified cn is used

Methods

• method CalculatedDN(pDefaultBaseDN As %String = "", pEscapeDN As %Boolean = 1) as %String
Method used to calculate Distinguished Name from the properties
The first parameter can be used to provide a default base that will be used if RDN is specified but Parent and Base are empty
The second parameter is used to control whether the CalculatedDN ought to be escaped as per RFC4514 https://www.ietf.org/rfc/rfc4514.txt.
The default is to escape
The CalculatedDN is returned As follows:
If the property DN is not empty it is returned.
If the property DN is empty then the value of the property RDN becomes the first part of the returned value and is then prepended to
the value of the Parent and returned.
If Parent is empty then RDN is preprended to Base and returned.
If Base is empty then RDN is preprended to parameter pDefaultBaseDN and returned.


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