Partager via


IdentityHelper.GetDomainUserName Method (TeamFoundationIdentity)

Gets the display name of the specified identity.

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

Syntax

'Déclaration
Public Shared Function GetDomainUserName ( _
    identity As TeamFoundationIdentity _
) As String
public static string GetDomainUserName(
    TeamFoundationIdentity identity
)
public:
static String^ GetDomainUserName(
    TeamFoundationIdentity^ identity
)
static member GetDomainUserName : 
        identity:TeamFoundationIdentity -> string 
public static function GetDomainUserName(
    identity : TeamFoundationIdentity
) : String

Parameters

Return Value

Type: System.String
The display name of the specified identity.

.NET Framework Security

See Also

Reference

IdentityHelper Class

GetDomainUserName Overload

Microsoft.TeamFoundation.Framework.Client Namespace