TfsConnection.GetAuthenticatedIdentity 메서드
서버에 대해 인증되는 ID를 가져옵니다.
네임스페이스: Microsoft.TeamFoundation.Client
어셈블리: Microsoft.TeamFoundation.Client(Microsoft.TeamFoundation.Client.dll)
구문
‘선언
Public Sub GetAuthenticatedIdentity ( _
<OutAttribute> ByRef identity As TeamFoundationIdentity _
)
public void GetAuthenticatedIdentity(
out TeamFoundationIdentity identity
)
매개 변수
- identity
형식: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity%
검색된 ID를 저장할 변수입니다.
설명
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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용 항목을 참조하세요.