Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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

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

Community Additions

© 2015 Microsoft