---
sourceDocument: Yokohama Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/platform-security

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# LDAP extraction

# LDAP extraction {#ariaid-title1}

Release version: Yokohama  
Updated May 20, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Implement an LDAP extraction process to detect inactive users.
To detect inactive users using LDAP extraction, create a separate LDAP data source scoped specifically to inactive user accounts. For example, target a inactive users organizational unit (OU) or apply a query filter that matches
inactive account flags. In the Table Transform Map for that data source, add a transform script that sets `target.active = false` for each record. Because the data source returns only inactive users, the script
deactivates only those accounts in ServiceNow.

## Benefits

Benefits to this method include:

* Simple scripting
* Existing user records aren't involved in processing
* Inactive users aren't loaded into a temporary import table
* No performance impact
{#r_LDAPExtraction__ul_jdk_kpt_cq}

## Drawbacks

Drawbacks to this method include:

* An additional process is created
* The extract set must be placed in a location where your data source can access it
{#r_LDAPExtraction__ul_srg_sr5_cq}

## Alternative method

[LDAP refresh filters](https://servicenow-prod.fluidtopics.net/9UwlzBK5M187177yeGunMw "Filters on the LDAP refresh process can be used to specify processing that ignores inserts of disabled users.") use multiple import jobs to divide different types of user records, segregating records for separate processing.

