Archive for October 13th, 2009
Determine The Role of a User in ASP.NET

There are several controls that allow you to display content based on the role a user is in, including:
- LoginView
- LoginStatus
And the web.config file allows us to control which pages can be viewed based on which role a user is in.
But what if you need to determine the role a user is in using the APIs? How do you do that?
It turns out that the API for this is really rather straightforward.
Other Related Items:
SVAT CV300-4CH-001 User Friendly Web Ready 4 Channel DVR Security System with 4 Indoor/Outdoor Weatherproof Night Vision Surveillance CamerasProtect your hard-earned possessions, assets, and family; know who has been on your property; rid yourself of uneasiness when you travel on vacation o... Read More >
Beginning ASP.NET 3.5: In C# and VB (Programmer to Programmer)This book is for anyone who wants to learn how to build rich and interactive web sites that run on the Microsoft platform. With the knowledge you gain... Read More >
If you're new here, you may want to subscribe to the mailing list to get notifications of new post and a virtual tour of past topics. Thanks for visiting!

