%Net.LDAP.Client.Session
class %Net.LDAP.Client.Session extends %Library.RegisteredObject
WARNING: This class and its methods are all deprecated; please use %SYS.LDAP class instead.Property Inventory
Method Inventory
- AddNewEntry()
- CompareEntryValue()
- Connect()
- DeleteEntry()
- EditEntry()
- GetPropList()
- GetStringList()
- GetValueList()
- RenameEntry()
- SASLConnect()
- Search()
Properties
Methods
DN Distinguished Name of the entry.
Attrib Attribute to compare its value.
Value The value to compare with.
Binary True if the value is binary.
Returns EditEntry object, use the returned object to modify the attributes
DN Distinguished Name of the entry
NewRDN New Relative Distinguished Name to assign to the entry
NewParent DN of the new parent to move the entry under. Pass "" if you do not want to move the entry to a different location.
DelOldRDN If 0, the old RDN is retained as an attribute in the modified entry
Note: The LDAP server must support that SASL mechanism for authentication.
You have to connect first before invoking any methods.
If the server sends a challenge to your client, check the ServerData argument for the server's challenge. Call the SASLConnect() method again to send a response to that challenge.
Example:
set comp=SASLConnect("localhost",0,"uid=u123,ou=people,o=isctest.com","abcMechanism","secret",srvData)
write:(comp=$$$OK) "Server credential is : ",srvData,!
scope: 0==search base, 1==search one level, 2==search subtree
filter: the search criteria (see RFC2254).Opens in a new tab
attrs: list of attributes to return per found entry.
If search fails the returned value is $$$ISERRInherited 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()