TfsConnection.GetAuthenticatedIdentity 方法

获取经过服务器身份验证的标识。

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Public Sub GetAuthenticatedIdentity ( _
    <OutAttribute> ByRef identity As TeamFoundationIdentity _
)
public void GetAuthenticatedIdentity(
    out TeamFoundationIdentity identity
)

参数

备注

When Team Foundation Server impersonation is used, the identity that is returned will be the identity that is performing the impersonation, not the user who is making the call. Therefore, the AuthorizedIdentity is usually the correct identity to use from this class.

.NET Framework 安全性

请参阅

参考

TfsConnection 类

Microsoft.TeamFoundation.Client 命名空间