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:56] – johnsonjohn | start [2024/02/26 08:26] (current) – [My Favorites] johnsonjohn | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ----- | ----- | ||
| ======My Code====== | ======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:// | ||
| ------ | ------ | ||
start.1708369010.txt.gz · Last modified: by johnsonjohn
