Share via


SPIisSettings.AuthenticationMode property

Gets or sets a value that specifies whether the Web application uses Windows authentication or Forms authentication.

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

Syntax

'Declaration
Public Property AuthenticationMode As AuthenticationMode
    Get
    Set
'Usage
Dim instance As SPIisSettings
Dim value As AuthenticationMode

value = instance.AuthenticationMode

instance.AuthenticationMode = value
public AuthenticationMode AuthenticationMode { get; set; }

Property value

Type: System.Web.Configuration.AuthenticationMode
A AuthenticationMode value that specifies the authentication mode that the Web application uses, which can be Forms, Windows, or None. (It cannot be Passport.) The default value is Windows. For other authentication modes, such as Active Directory Federation Services (ADFS), this value must be None.

Remarks

Important

SharePoint Foundation uses IIS Integrated Mode, which does not support Windows Live (formerly Passport) authentication.

See also

Reference

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace