Browse by Tags

All Tags » Forms Authentication (RSS)

Redirect unauthorized users to Custom Access Denied page instead of login page by guru_sarkar

Scenario: Say you are using Forms Authentication and have set up authorization in your web.config to allow access to particular users or roles and/or denying anonymous access. 1: Deny Anonymous users :When an unauthenticated user tries to access a secured...

LoginName Control to Display Full Name instead of username by guru_sarkar

Question: How do I modify the text in LoginName Control. I want to display "Full Name" of the currently logged-in User but the LoginName control displays the username (User Id) that user uses to login. I want to display Full Name along with username in...

Changing user password in Web.config by guru_sarkar

Say you have your user credientials placed in your web.config . How do you change the passord for a user programatically. Less talk, more code. Sample web.config in root folder: < system.web > < compilation debug = " true " /> < authentication...
More Posts