Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
Web Services
 Mode Method
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Authentication.Mode Method (Authentication)
Returns the authentication mode for the current SharePoint site.

Web Service: AuthenticationWeb Reference: http://<Site>/_vti_bin/Authentication.asmx
Visual Basic (Declaration)
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/Mode", RequestNamespace:="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="http://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function Mode As AuthenticationMode
Visual Basic (Usage)
Dim instance As Authentication
Dim returnValue As AuthenticationMode

returnValue = instance.Mode
C#
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/Mode", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public AuthenticationMode Mode ()

Return Value

An System.Web.Configuration.AuthenticationMode that identifies the user authentication system that is being used by the current SharePoint site.

There are three authentication systems available to SharePoint sites: Windows authentication, Microsoft Windows Live ID authentication (formerly known as "Passport" authentication), and Forms authentication. For more information about types of authentication, see ASP.NET Authentication.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker