Megosztás a következőn keresztül:


IServerStatusService.CheckAuthentication Method

Checks whether the client is authenticated and returns the authenticated user name

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Function CheckAuthentication As String
string CheckAuthentication()
String^ CheckAuthentication()
abstract CheckAuthentication : unit -> string
function CheckAuthentication() : String

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

IServerStatusService Interface

Microsoft.TeamFoundation.Server Namespace