954,190 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

login Access Level

I am new in VB.NET/ASP.NET, I want a user to logon to the aspx page using access level, If Access level is Administrator or User Or Manager different links or page be display or if Access level is User all the link relevent to admin should be disabled visa vesa.

Thank u in advance.

Kediemetse
Newbie Poster
3 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
 
I am new in VB.NET/ASP.NET, I want a user to logon to the aspx page using access level, If Access level is Administrator or User Or Manager different links or page be display or if Access level is User all the link relevent to admin should be disabled visa vesa. Thank u in advance.

My immediate guess would be that you need to access the registry to somehow tell what privileges that person has?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 
I am new in VB.NET/ASP.NET, I want a user to logon to the aspx page using access level, If Access level is Administrator or User Or Manager different links or page be display or if Access level is User all the link relevent to admin should be disabled visa vesa. Thank u in advance.



what you could do is use session variables to hold the access level..
and base on that level disable or enable those link buttons for the individuals.. remember to put those link buttons in table and also on your webform..use flow layout rather than grid, if u need more information let me know..

nickib58
Newbie Poster
1 post since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

you can change the access levels from within VS

Its an option under the file-edit-tools-help thing at the top of the IDE

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You