This documentation is archived and is not being maintained.
MembershipSection::UserIsOnlineTimeWindow Property
Visual Studio 2010
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)
[TimeSpanValidatorAttribute(MinValueString = L"00:01:00", MaxValueString = L"10675199.02:48:05.4775807")] [ConfigurationPropertyAttribute(L"userIsOnlineTimeWindow", DefaultValue = L"00:15:00")] [TypeConverterAttribute(typeof(TimeSpanMinutesConverter))] public: property TimeSpan UserIsOnlineTimeWindow { TimeSpan get (); void set (TimeSpan value); }
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: