RolePrincipal.CachedListChanged Property
.NET Framework 3.0
Gets a value indicating whether the list of role names cached with the RolePrincipal object has been modified.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The CachedListChanged property will return true after role names have been retrieved from the default role Provider and added to the cache by the GetRoles method, or when the IsInRole method calls the IsUserInRole method of the default role provider and then receives a response of true, resulting in the role name passed to the IsInRole method being added to the cache.
The CachedListChanged property will also return true if CookieSlidingExpiration is set to true and the ExpireDate has passed, resulting in a new ExpireDate being set.
Community Additions
ADD
Show: