UserNameServiceElement.CachedLogonTokenLifetime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum length of time a token is cached.
public:
property TimeSpan CachedLogonTokenLifetime { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("cachedLogonTokenLifetime", DefaultValue="00:15:00")]
public TimeSpan CachedLogonTokenLifetime { get; set; }
[System.Configuration.ConfigurationProperty("cachedLogonTokenLifetime", DefaultValue="00:15:00")]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan CachedLogonTokenLifetime { get; set; }
[System.Configuration.ConfigurationProperty("cachedLogonTokenLifetime", DefaultValue="00:15:00")]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan CachedLogonTokenLifetime { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("cachedLogonTokenLifetime", DefaultValue="00:15:00")>]
member this.CachedLogonTokenLifetime : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("cachedLogonTokenLifetime", DefaultValue="00:15:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
member this.CachedLogonTokenLifetime : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("cachedLogonTokenLifetime", DefaultValue="00:15:00")>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.CachedLogonTokenLifetime : TimeSpan with get, set
Public Property CachedLogonTokenLifetime As TimeSpan
Property Value
A TimeSpan that represents the maximum length of time a token is cached.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.