IdentityUtil.GetDomainUserName Method
Namespace: Microsoft.VisualStudio.Services.Identity
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
.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.