LoginName control

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 task pane to your page.

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

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

See also

Concepts

ASP.NET login controls overview

ChangePassword control

CreateUserWizard control

Login control

LoginStatus control

LoginView control

PasswordRecovery control