Is there documentation for GlideLDAP and GlideLDAPConfig?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 06:41 AM
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?
Labels:
- Labels:
-
Scripting and Coding
0 REPLIES 0