ServiceNow Certified Application Developer — Question 160
Which one of the following is true about client-side scripted security?
Answer options
- A. Client-side scripts have access to both the GlideSystem (gs) and GlideUser (g_user) methods
- B. Client-side scripts have access to the GlideUser (g_user) methods
- C. Client-side scripts have no access to user methods
- D. Client-side scripts have access to the GlideSystem (gs) user methods
Correct answer: B
Explanation
The correct answer is B because client-side scripts do indeed have access to the GlideUser (g_user) methods, allowing them to interact with user-specific information. Options A and D are incorrect as client-side scripts do not have access to GlideSystem (gs) methods, and option C is wrong since client-side scripts can access user methods, specifically those associated with GlideUser.