Tag: LDAP

ServiceNow – Find inactive LDAP users using lastRefresh time

Create a datetime field on the User [sys_user] table. For example, u_last_refreshed. Create an LDAP transform script to set the field value. [System Ldap > Select the LDAP User import > In Script field, Add below code] [crayon-674e61c405958739790620/] Create a scheduled job to find and deactivate the user accounts that have not been refreshed in