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)- A10% (2)
- B5% (1)
- D80% (16)
- E5% (1)
Community Discussion
No community discussion yet for this question.