Question 310
A developer applies this approach: Use gs.getUserID() to derive the current user identifier on the server. What platform behavior or outcome should be expected for the stated design?
Explanation
Correct Answer
The expected result for Current authenticated user identity is: Using the authenticated session identity prevents trusting a forged client-supplied owner value.
Incorrect Answers
This describes Membership-aware server processing and its associated action, Query membership through the server user context and avoid relying solely on a form flag, rather than the consequence of the stated approach.
This describes Noninteractive transaction handling and its associated action, Use supported GlideSystem session context such as gs.isInteractive() where appropriate, rather than the consequence of the stated approach.
This describes Secure denial message and its associated action, Return a generic access-denied response and use approved server messaging without exposing sensitive values, rather than the consequence of the stated approach.