LoginName

The LoginName control displays a user's login name if the user has logged in using ASP.NET membership. Alternatively, if your site uses integrated Windows authentication, the control displays the user's Windows account name.

To add a LoginName control to a page

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

  2. To set properties that determine the appearance of the LoginName control, use the Tag Properties panel.

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

See also

Concepts

ASP.NET Login controls
ChangePassword
CreateUserWizard
Login
LoginStatus
LoginView
PasswordRecovery

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