You need to sign in to do that
Don't have an account?
Trinath Reddy
Role wise i want to show output,If Role is CEO i want to display one response in Vf page ,If the Role is CFO i want to display another response in Vf page,Please help on this
Anjum Attar 26
query on user and get it's role after that on VF page create two pageblocks which will display 2 different responses. On VF page check the role of user If it is Role A then rendered pageblock A otherwise rendered pageblock B. Initially keep both pageblocks hidden. Hope this will help you.