- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018 05:48 AM
Hi Friends,
I would like delete the multiple users in the user table ,By the background script
Can you please share me the script .
Regards,
Jagadeesh
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018 06:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018 06:25 AM
Hi Jagadeesh,
Please go through below code may be it will help you:
var gr = new GlideRecord('sys_user');
gr.query();
while (gr.next()) {
gr.deleteMultiple();
}
NOTE: Mark correct or helpful if it helps you.
Warm Regards,
Raj patel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018 06:28 AM
Hi Jagadeesh,
Please mark CORRECT if my solution help you to achieve your requirement.
Thank you,
Raj Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018 06:29 AM
Tq Guys , for your support,
Regards,
Jagadeesh
