RolePrincipal::ExpireDate Property

 

Gets the date and time when the roles cookie will expire.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public:
property DateTime ExpireDate {
	DateTime get();
}

Property Value

Type: System::DateTime

The DateTime value when the roles cookie will expire.

The following example displays role-caching information for the current user if role management is enabled. For information on enabling role management, see the Roles class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: