Login::VisibleWhenLoggedIn Property
Gets or sets a value indicating whether to show the Login control after the user is authenticated.
Assembly: System.Web (in System.Web.dll)
The VisibleWhenLoggedIn property specifies whether the Login control is displayed to authenticated users. When the property is false, the Login control does not appear on the page when an authenticated user accesses the site. This is used on Web pages that are used both as login pages and as information pages to hide the Login control after the user has been authenticated.
The VisibleWhenLoggedIn property has no effect on a Login control that appears on the default login page defined in Web.config or in the application's configuration file.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.
Available since 2.0