IdentityUtil.GetDomainUserName Method (TeamFoundationIdentity)
Get identity name for display.
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 _
) 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.Server.Core.TeamFoundationIdentity
Return Value
Type: System.String
.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.