Share via


SPSecurityTokenServiceManager.FormsTokenLifetime property

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

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

Syntax

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

value = instance.FormsTokenLifetime

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

Property value

Type: System.TimeSpan
The lifetime of the token. The default value is 10 hours.

See also

Reference

SPSecurityTokenServiceManager class

SPSecurityTokenServiceManager members

Microsoft.SharePoint.Administration.Claims namespace