Which of the following methods are useful in Access Control scripts?
Suggested Answer: B
Get Premium CAD Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
CH
Chuck
12 months ago
I’m surprised people still use gs.hasRole() over g_user!
AV
Avery
12 months ago
I always use A and B, they work great!
IS
Isadora
1 year ago
Wait, is D even a thing? Seems off to me.
LA
Laquanda
1 year ago
I think C is also valid, but not as common.
CL
Clarinda
1 year ago
A and B are definitely useful methods!
HO
Howard
1 year 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.
MI
Mila
1 year 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.
MI
Micheline
1 year ago
I think g_user.hasRole() is definitely used for checking user roles, but I'm not sure about the current.isNewRecord() part.
ST
Stefany
1 year 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.
JE
Jenise
1 year 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.
IR
Irma
1 year 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.
NE
Nettie
1 year ago
The answer about respecting employees and customers sounds familiar, but I'm not convinced it really qualifies as a direct business outcome.