Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the display name of the specified identity.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
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
identity
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentityThe identity for which the display name is desired.
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.