function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
select Id, Name, UserRole.Name from User
Also, use visibility variable to control button visibility.
if( role == 'Analyst)
visibility = true;
and in visualforce page, you can use rendered property in button like rendered = "{!visibility}".
Mark this as best answer if it helped you out.
Thanks!!
Bilal