LoginStatus

The LoginStatus control displays a login link for users who are not authenticated and a logout link for users who are authenticated. The login link takes the user to a login page. The logout link resets the current user's identity to be an anonymous user.

To add a LoginStatus control to a page

  1. Drag the LoginStatus control from the Toolbox panel to your page.

  2. You can customize the appearance of the LoginStatus control by setting the LoginText and LoginImageUrl properties. To set these and other properties that determine the appearance of the LoginStatus control, use the Tag Properties panel.

For a full description of all LoginStatus control properties, see LoginStatus Members Cc295456.xtlink_newWindow(en-us,Expression.40).png in the MSDN library.

See also

Concepts

ASP.NET Login controls
ChangePassword
CreateUserWizard
Login
LoginView
PasswordRecovery

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.