Share via


IdentityUtil.GetDomainUserName Method (TeamFoundationIdentity, String%)

Get identity name for display. In addition the name which can be uniquely resolved is also returned.

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

Syntax

'Declaration
Public Shared Function GetDomainUserName ( _
    identity As TeamFoundationIdentity, _
    <OutAttribute> ByRef resolvableName As String _
) As String
public static string GetDomainUserName(
    TeamFoundationIdentity identity,
    out string resolvableName
)
public:
static String^ GetDomainUserName(
    TeamFoundationIdentity^ identity, 
    [OutAttribute] String^% resolvableName
)
static member GetDomainUserName : 
        identity:TeamFoundationIdentity * 
        resolvableName:string byref -> string
public static function GetDomainUserName(
    identity : TeamFoundationIdentity, 
    resolvableName : String
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

IdentityUtil Class

GetDomainUserName Overload

Microsoft.TeamFoundation.Server.Core Namespace