Compartilhar via


SPSecurityTokenServiceManager.WindowsTokenLifetime Property

Gets or sets the lifetime of tokens issued to logins that use Windows-based login.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property WindowsTokenLifetime As TimeSpan
    Get
    Set
'Usage
Dim instance As SPSecurityTokenServiceManager
Dim value As TimeSpan

value = instance.WindowsTokenLifetime

instance.WindowsTokenLifetime = value
public TimeSpan WindowsTokenLifetime { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan object that represents the lifetime of the token. The default is 10 hours.

See Also

Reference

SPSecurityTokenServiceManager Class

SPSecurityTokenServiceManager Members

Microsoft.SharePoint.Administration.Claims Namespace