Disable multiple users at once

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2018 07:27 AM
Hello,
I'm pretty new to ServiceNow, but I was looking into finding a way to disable multiple users at once. We have multiple people with more than one account in AD, such as an admin account. All of these get imported into ServiceNow, but the only one that is used is their main AD account. Is there any way to automatically disable accounts if they have a user ID that includes .admin or any other unique identifier?
Thanks,
Christine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2018 07:32 AM
Hi Christine,
You can achieve this via the list view on user table.(select multiple rows and update for a column).
OR
You can create a list choice ui action do take this action on selected rows on List view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2018 07:33 AM
There are a few ways that you could it. It would make the most sense to do it during the import. I assume you are using the LDAP transform map?
Either way you are importing you can use a Transform Script. Here you can specify your unique identifier and filter them out.
A lot of people use this, including myself, for removing inactive users from their group memberships.