nerdexam
Oracle

1Z0-419 · Question #51

Which option represents the expression you would use to determine if a user belongs to the administrator role? (Choose the best answer.)

The correct answer is D. sfadfSecurity.userlnRolefadministrator']}. See the full explanation below for the reasoning.

Question

Which option represents the expression you would use to determine if a user belongs to the administrator role? (Choose the best answer.)

Options

  • A#{securityContext.userinRolefadministrator']}
  • Badf.context.securityContext.role.administrator
  • C#{securityContextuserGrantedResource [administrator1]}
  • DsfadfSecurity.userlnRolefadministrator']}
  • Eadf.context.secuhtyContext.userlnRole.administrator

How the community answered

(20 responses)
  • A
    10% (2)
  • B
    5% (1)
  • D
    80% (16)
  • E
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-419 Practice