97
Views
4
Comments
Assign a user role to button or link
Question
Hello 

Is it possible to assign a User Role to a  button or link in  screen  in Service Studion V 7.0 ? I know that we can assign a user role to a screen as a whole but I need to assign User Roles to screen specific elements.

Pls let me know.

Thanks & regards
Ravi
2012-08-13 13-29-53
Nikhil Shravage
Hello Ravi,

What I usually do that is when I need to assign certain specific roles to any screen elements, I enclose those elements in a 'If' block and then assign the roles as the 'If' condition.

Hope you got it. Do let me know if it works.

Cheers,
Nikhil Shravage.
2018-05-31 18-44-19
Ravi Vakkalanka
Thanks a lot Nikhil for your reply. I am just wondering it there is any better/easier way than this ?

Thanks & regards
Ravi 
2018-09-06 17-56-25
Tiago Martins
Hi Ravi,

Have you tried using the Check<roleName>Role(UserId:) functions on the Visible or Enabled properties of your elements, depending on what you need?

Best regards,
2018-05-31 18-44-19
Ravi Vakkalanka
I tried your option and it works perfectly. 

Thanks & regards
Ravi
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.