Compartilhar 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