共用方式為


TeamFoundationServer.AuthenticatedUserDisplayName Property

Gets the display name of the authenticated user.

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

Syntax

'Declaration
Public ReadOnly Property AuthenticatedUserDisplayName As String
public string AuthenticatedUserDisplayName { get; }
public:
property String^ AuthenticatedUserDisplayName {
    String^ get ();
}
member AuthenticatedUserDisplayName : string with get
function get AuthenticatedUserDisplayName () : String

Property Value

Type: System.String
The display name of the authenticated user.

Remarks

AuthenticatedUserDisplayName will contact the server to get the display name of the user if the DisplayName of the user has not already been retrieved.

.NET Framework Security

See Also

Reference

TeamFoundationServer Class

Microsoft.TeamFoundation.Client Namespace