Partager via


ServerStatus.CheckAuthentication Method

API used to test IIS auth

Namespace:  Microsoft.TeamFoundation.Integration.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function CheckAuthentication As String
[WebMethodAttribute]
public string CheckAuthentication()
[WebMethodAttribute]
public:
String^ CheckAuthentication()
[<WebMethodAttribute>]
member CheckAuthentication : unit -> string
public function CheckAuthentication() : String

Return Value

Type: System.String
the currently authenticated user name

.NET Framework Security

See Also

Reference

ServerStatus Class

Microsoft.TeamFoundation.Integration.Server Namespace