MembershipSection.UserIsOnlineTimeWindow Property
.NET Framework (current version)
Gets or sets the length of time, in minutes, before a user is no longer considered to be online.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("userIsOnlineTimeWindow", DefaultValue := "00:15:00")> <TypeConverterAttribute(GetType(TimeSpanMinutesConverter))> <TimeSpanValidatorAttribute(MinValueString := "00:01:00", MaxValueString := "10675199.02:48:05.4775807")> Public Property UserIsOnlineTimeWindow As TimeSpan
The value for the UserIsOnlineTimeWindow property is calculated by comparing the current time minus the UserIsOnlineTimeWindow property with the LastActivityDate value for the user.
The following code example demonstrates how to use the UserIsOnlineTimeWindow property. This code example is part of a larger example provided for the MembershipSection class.
.NET Framework
Available since 2.0
Available since 2.0
Show: