IdentityHelper.GetDomainUserName Method (TeamFoundationIdentity, String%)
Gets the display name of the specified identity. Also returns the uniquely resolvable name.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.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
- identity
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity
The identity for which the display name is desired.
- resolvableName
Type: System.String%
The uniquely resolvable name.
Return Value
Type: System.String
The display name of the specified identity.
.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.