Home > DeveloperSection > Forums > Access level user For Buttons in the forms
jayprakash sharma
jayprakash sharma

Total Post:117

Posted on    August-22-2014 12:55 AM

 C# C# 

 1 Reply(s)
 738  View(s)
Rate this:

I Want Set Access level user For Buttons in the forms.

example in the each form i have Add , Edit ,search and Delete button

and I want user1 access to delete and update button in the form 1 and user 2 access to all buttons in each forms.

Sumit Kesarwani

Total Post:378

Posted on    August-22-2014 1:53 AM

Hi Jay, 
try this:

If User.IsInRole("Administrators") Then

     'Do something only admins are allowed to-do

End If

Don't want to miss updates? Please click the below button!

Follow MindStick