System.Web.Security.Roles.DeleteCookie Method

Deletes the cookie where role names are cached.

Syntax

public static void DeleteCookie ()

Remarks

The Roles.DeleteCookie method clears the contents of the cookie that is used to cache role names. For more information on caching role names, see Roles.CacheRolesInCookie.

Requirements

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