Share 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