start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [2024/02/19 10:43] – johnsonjohn | start [2024/02/26 08:26] (current) – [My Favorites] johnsonjohn | ||
---|---|---|---|
Line 2: | Line 2: | ||
----- | ----- | ||
+ | ======My Code====== | ||
+ | =====NON UTIL USER===== | ||
+ | < | ||
+ | // Run DEBUG NOW only. Do not run EXECUTE NOW. This will give you a list of users that are NOT ITIL USERS. | ||
+ | // This list of NON ITIL users will show up in the User Logs. | ||
+ | ClearUserLog(); | ||
+ | var gr = new GlideRecord(' | ||
+ | gr.addEncodedQuery(' | ||
+ | gr.query(); | ||
+ | while (gr.next()) { | ||
+ | var gr2 = new GlideRecord(' | ||
+ | gr2.addEncodedQuery(' | ||
+ | gr2.query(); | ||
+ | if (!gr2.hasNext()) { | ||
+ | // | ||
+ | UserLog(gr.user.getDisplayValue() + ' ' + gr.role.getDisplayValue()); | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | ----- | ||
+ | =====My Favorites===== | ||
+ | [[https:// | ||
+ | |||
+ | ------ | ||
======JavaScript Snippets====== | ======JavaScript Snippets====== | ||
start.1708368188.txt.gz · Last modified: 2024/02/19 10:43 by johnsonjohn