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
Explanation:
To check if user is a member of at least one role in comma separated list:
#{securityContext.userInRole[‘roleList’]}
http://www.techartifact.com/blogs/2013/04/commonly-adf-security-expression-languageel.html#sthash.4k2tFVYE.dpbs