Access level user For Buttons in the forms

Total Post:117

Points:821

C# 
C#
 1090  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. 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

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.