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-66727c8017550648299222/] Create a scheduled job to find and deactivate the user accounts that have not been refreshed in