Class SecurityCacheElement
SecurityCacheElement
Inheritance
System.Object
    SecurityCacheElement
  Namespace: Mediachase.Commerce.Security.Configuration
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
[Obsolete("This setting is no longer used, Use SecurityOptions instead. Will remain at least until July 2021")]
public class SecurityCacheElement : ConfigurationElementConstructors
SecurityCacheElement()
Initializes a new instance of the SecurityCacheElement class.
Declaration
public SecurityCacheElement()Properties
IsEnabled
Attribute determines whether in-memory caching is enabled or not.
Declaration
public bool IsEnabled { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
UserCollectionTimeout
Gets or sets the user collection timeout.
Declaration
public TimeSpan UserCollectionTimeout { get; set; }Property Value
| Type | Description | 
|---|---|
| System.TimeSpan | The user collection timeout. | 
UserTimeout
Configuration attribute which determines when the User value is automatically refreshed in memory.
Declaration
public TimeSpan UserTimeout { get; set; }Property Value
| Type | Description | 
|---|---|
| System.TimeSpan | The catalog entry timeout. | 
Methods
IsReadOnly()
Gets a value indicating whether the System.Configuration.ConfigurationElement object is read-only.
Declaration
public override bool IsReadOnly()Returns
| Type | Description | 
|---|---|
| System.Boolean | true if the System.Configuration.ConfigurationElement object is read-only; otherwise, false. | 
