System.Web.Security.RolePrincipal.SetDirty Method

Marks the cached role list as having been changed.

Syntax

public void SetDirty ()

Remarks

The RolePrincipal.SetDirty method marks the cached role list as having been changed by setting RolePrincipal.CachedListChanged to true and RolePrincipal.IsRoleListCached to false.

Requirements

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