System.Web.Security.RolePrincipal.Expired Property

Gets a value indicating whether the roles cookie has expired.

Syntax

public bool Expired { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The RolePrincipal.Expired property returns a Boolean value indicating whether the roles cookie has expired based on the RolePrincipal.ExpireDate and the current date and time.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0