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.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function GetDomainUserName ( _
    identity As Identity _
) As String
public static string GetDomainUserName(
    Identity identity
)
public:
static String^ GetDomainUserName(
    Identity^ identity
)
static member GetDomainUserName : 
        identity:Identity -> string
public static function GetDomainUserName(
    identity : Identity
) : String
Parameters
- identity
 Type: Microsoft.VisualStudio.Services.Identity.Identity
Return Value
Type: System.String
Returns 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.