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