Check for a list of sys ids in a glide record

 var usersToRemove='sysid1, sysid2, ...';


grUser = new GlideRecord("sys_user"),

grUser.addActiveQuery();

grUser.addQuery("sys_id", "IN", usersToRemove);

grUser.query();

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

Running transform maps asynchronously