Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LoginStatus control

LoginStatus control

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 task pane 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 task pane.

For a full description of all LoginStatus control properties, see LoginStatus in the MSDN library.

Community Additions

© 2015 Microsoft