Hi there. I have my membership project and I did with Microsoft Access Providers. What I want to do is that I need to define that Linkbutton.Visible = True if admin user is logged in ! How could I do that? I do not want to allow the other user roles to see this link except admin.
I tried this below one but it didn't work;
Linkbutton.Visible = User.IsInRole("admin")
Do I need to add something on my code behind as imports?
Thanks !
...
Go to the complete details ...