New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ServiceNow CAD Exam - Topic 4 Question 42 Discussion

Actual exam question for ServiceNow's CAD exam
Question #: 42
Topic #: 4
[All CAD Questions]

Which of the following methods are useful in Access Control scripts?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Chuck
4 months ago
I’m surprised people still use gs.hasRole() over g_user!
upvoted 0 times
...
Avery
4 months ago
I always use A and B, they work great!
upvoted 0 times
...
Isadora
5 months ago
Wait, is D even a thing? Seems off to me.
upvoted 0 times
...
Laquanda
5 months ago
I think C is also valid, but not as common.
upvoted 0 times
...
Clarinda
5 months ago
A and B are definitely useful methods!
upvoted 0 times
...
Howard
5 months ago
I feel like both g_user.hasRole() and gs.hasRole() are important, but I’m confused about which one fits better in this context.
upvoted 0 times
...
Mila
5 months ago
I remember practicing with gs.hasRole() in a similar question, but I can't recall if current.isNew() is the right method to use here.
upvoted 0 times
...
Micheline
5 months ago
I think g_user.hasRole() is definitely used for checking user roles, but I'm not sure about the current.isNewRecord() part.
upvoted 0 times
...
Stefany
5 months ago
I think current.isNewRecord() sounds familiar, but I’m not entirely sure if it’s the same as current.isNew(). I need to double-check that.
upvoted 0 times
...
Jenise
5 months ago
The Empirical Rule? I'm drawing a blank on that one. I know standard deviation is important, but I'm not sure how it relates to probability estimates. I'll have to guess on this one and hope for the best.
upvoted 0 times
...
Irma
5 months ago
I'm a bit confused by the syntax here. I'll need to double-check the Java language rules to make sure I understand what's going on.
upvoted 0 times
...
Nettie
6 months ago
The answer about respecting employees and customers sounds familiar, but I'm not convinced it really qualifies as a direct business outcome.
upvoted 0 times
...

Save Cancel