IdentityHelper.GetDomainName Method
Gets the domain name of the specified identity.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
‘선언
Public Shared Function GetDomainName ( _
identity As TeamFoundationIdentity _
) As String
public static string GetDomainName(
TeamFoundationIdentity identity
)
public:
static String^ GetDomainName(
TeamFoundationIdentity^ identity
)
static member GetDomainName :
identity:TeamFoundationIdentity -> string
public static function GetDomainName(
identity : TeamFoundationIdentity
) : String
Parameters
- identity
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity
The Team Foundation identity descriptor for which the domain name is desired.
Return Value
Type: System.String
The domain 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.