다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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