Is there documentation for GlideLDAP and GlideLDAPConfig?

qwertyflop
Giga Guru

I am trying to create a script to read LDAP based on this old post:

Reading LDAP in a script - Developer Community - Question - ServiceNow Community

The ServiceNow Packages Call Removal Utility replaces the packages as follows

// var ldapc = new Packages.com.glide.sys.ldap.LDAPConfig(rec);
// var ldap = new Packages.com.glide.sys.ldap.LDAP();
var ldapc = new GlideLDAPConfig(rec);
var ldap = new GlideLDAP();

However, the replacement code still causes an illegal access error:

JavaException: java.lang.SecurityException: Illegal access to method setConfig(com.glide.sys.ldap.LDAPConfig) in class com.glide.sys.ldap.AbstractLDAP

I have not been able to find any documentation related to GlideLDAP or GlideLDAPConfig. is there any documentation available for those classes?

0 REPLIES 0