ACCESS LEVEL USER FOR BUTTONS IN THE FORMS

jayprakash sharma

Total Post:117

Points:821
Posted by  jayprakash sharma
C# 
C#
 785  View(s)
Ratings:
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.

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: Access level user For Buttons in the forms

    Hi Jay, 

    try this:

    If User.IsInRole("Administrators") Then

         'Do something only admins are allowed to-do

    End If

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!