EnsLib.LDAP.Util.General
class EnsLib.LDAP.Util.General extends %Library.RegisteredObject
General LDAP Utility Class Methods used by EnsLib.LDAP.Adapter.Common and EnsLib.LDAP.Operation.StandardMethod Inventory
Methods
Escape DN as per RFC4514 https://www.ietf.org/rfc/rfc4514.txt
This returns the Relative Distinguished Name from a Distinguished Name
accounting for DN being escaped.
pDN is assumed to be already escaped
pDN is assumed to be already escaped
classmethod GenerateDNFromRDNandParent(pRDN As %String = "", pParent As %String = "", pEscapeDN As %Boolean = 0, pDefaultRDNAttributeName As %String = "cn") as %String
Construct possible Distinguished Name concatenating pParent to to the supplied
first parameter taken to be a relative distinguished name pRDN
If no naming attribute is given for pRDN then the value of the fourth parameter pDefaultRDNAttributeName is used. The default is "cn"
The third parameter pEscapeDN if true will lead to the generated DN being escaped according to rfc4514. The default is not to escape.
If no naming attribute is given for pRDN then the value of the fourth parameter pDefaultRDNAttributeName is used. The default is "cn"
The third parameter pEscapeDN if true will lead to the generated DN being escaped according to rfc4514. The default is not to escape.
classmethod GenerateEnsLDAPStatus(pLastCall As %String = "", pExtraText As %String = "", pLastStatusText As %String = "", pLDAPStatus As %Integer = 0, Output pCategory As %String) as %Status
Classify the LDAP Status code using Ensemble LDAP status information
and return the category as output in 5th parameter.
UnEscape DN as per RFC4514 https://www.ietf.org/rfc/rfc4514.txt
Inherited Members
Inherited 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()