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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.