Home » Oracle » 1z0-419 » Which option represents the expression you would use to determine if a user belongs to the administrator role?
Which option represents the expression you would use to determine if a user belongs to the administrator role? (Choose the best answer.)
A. #{securityContext.userInRole[‘administrator’]}
B. adf.context.securityContext.role.administrator
C. #{securityContext.userGrantedResource [‘administrator’]}
D. #{adfSecurity.userInRole[‘administrator’]}
E. adf.context.securityContext.userInRole.administrator
Correct Answer: D
Explanation/Reference:
To check if user is a member of at least one role in comma separated list:
#{securityContext.userInRole[‘roleList’]}
References: http://www.techartifact.com/blogs/2013/04/commonly-adf-security-expression-language-el.html#sthash.4k2tFVYE.dpbs
Download Printable PDF. VALID exam to help you PASS.
|
|