ServiceNow Certified Application Developer — Question 81
Which one of the following is true for GlideUser (g_user) methods?
Answer options
- A. Can be used in Client Scripts and UI Policies only
- B. Can be used in Business Rules only
- C. Can be used in Client Scripts, UI Policies, and UI Actions
- D. Can be used in Business Rules, and Scripts Includes
Correct answer: C
Explanation
The correct answer is C because GlideUser (g_user) methods are designed to be utilized in Client Scripts, UI Policies, and UI Actions, allowing for client-side functionality. Options A and B are incorrect as they limit the usage to fewer contexts, while D incorrectly includes Script Includes which do not support g_user methods.