Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CAD All Questions

View all questions & answers for the CAD exam

Exam CAD topic 1 question 56 discussion

Actual exam question from ServiceNow's CAD
Question #: 56
Topic #: 1
[All CAD Questions]

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

  • A. g_user.hasRole() and current.isNewRecord()
  • B. gs.hasRole() and current.isNewRecord()
  • C. g_user.hasRole() and current.isNew()
  • D. gs.hasRole() and current.isNew()
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
manikanta_gnbv
8 months, 1 week ago
Selected Answer: B
its B beacuse the current.isnewrecord is used and second thing is its serverside so gs.hashole() will be used
upvoted 4 times
...
Flanky
1 year ago
Selected Answer: B
glideSystem options: getUser(), getUserID(), getUserName(), hasRole(Object role), isLoggedIn(), isInteractive(), getSession()
upvoted 1 times
...
Mishu123
1 year, 1 month ago
https://developer.servicenow.com/dev.do#!/learn/learning-plans/vancouver/new_to_servicenow/app_store_learnv2_securingapps_vancouver_creating_and_editing_access_controls
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...