Suresh_A
(Suresh A)
July 12, 2011, 5:11pm
1
Hi,
My requirement is that I need to show and hide some elements in the UI depends on the Role/Group/User. For that I need to know 2 things,
How can set property for the element in UI dynamically/programatically?
How can get to know the Group/Role that the logged in user belongs to? (Kindly provide code sample for local as well as LDAP)
Regards,
Suresh.A
system
(system)
July 12, 2011, 9:26pm
2
Suresh_A
(Suresh A)
July 14, 2011, 7:27pm
3
Thanks for the information.
Regards,
Suresh.A
Suresh_A
(Suresh A)
September 7, 2011, 12:01pm
4
Hi mimel,
This has been achieved.
If I want to maintain(render) for more than one Role then how how can I proceed?
Regards,
Suresh.A
system
(system)
September 7, 2011, 9:55pm
5
Roles can be aggregated on MWS. That would probably be easiest. Alternatively, you can modify the binding expression to use an OR operator. (Just google JSTL OR operator for more information)
Regards,
–mark