hello...
in our website how we can do settting like some links should be visible only when "admin" user is logged in!
Thanx!
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 30, 2009, 12:18 PM EDT
How to Implement Role based Security in the WebSite
Here is Best Link For you to learn asp.net :)
all videos are free just Download and Learn How to do All the Security management in Asp.net
http://www.asp.net/LEARN/videos/
Programatically learn
---------------------------
http://www.4guysfromrolla.com/webtech/121901-1.shtml
if my answer helps you please check "Do you like this answer" :)
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 30, 2009, 8:39 AM EDT
and In page Load Check Which role User Belongs to
//
code to retrieve the role of user from database
if ( role == "user")
{
// Code to Make Links Visible = false;
}
else
{
//Code to Showthe links;
}
Dipa AhujaRank #1,168 · 1.5K reputationPosted Oct 30, 2009, 9:01 AM EDT
would u plz tell me or provide me any website ?
i want to create two types of user 1. simple user and 2.Admin (fully authorized user) and also login account also created based on this type..
how to do?
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 30, 2009, 11:00 AM EDT
then
you can do it with
ASp.net Configuration Wizard
thats last button in Solution Explore ...
Posted Oct 30, 2009, 11:06 AM EDT
Dipa AhujaRank #1,168 · 1.5K reputationPosted Oct 31, 2009, 8:11 AM EDT
ya by mistake i made this thread in windows form i wanted to make ths in web form so...
Dipa AhujaRank #1,168 · 1.5K reputationPosted Oct 31, 2009, 8:12 AM EDT
Thanx.. i will see these links..
Dipa AhujaRank #1,168 · 1.5K reputationPosted Oct 31, 2009, 8:22 AM EDT
i marked you answer