다음을 통해 공유


IIdentityProvider.CreateDescriptor 메서드 (TeamFoundationRequestContext, String)

공급자 지원에서 identities 일반화 설명자에 표시 이름 확인 CreateDescriptor을 구현할 수 있습니다. 그러면 TFS를 알된 수 없는 사용자에 대 한 표시 이름을 사용 하 고 정규화 된 id 공급자를 사용 하 여 해결 합니다. 참고: unqiue 사용자 대화명을 확인할 수 없으면 NULL이 반환 해야 합니다.

네임스페이스:  Microsoft.VisualStudio.Services.Identity
어셈블리:  Microsoft.TeamFoundation.Framework.Server(Microsoft.TeamFoundation.Framework.Server.dll)

구문

‘선언
Function CreateDescriptor ( _
    requestContext As TeamFoundationRequestContext, _
    displayName As String _
) As IdentityDescriptor
IdentityDescriptor CreateDescriptor(
    TeamFoundationRequestContext requestContext,
    string displayName
)

매개 변수

반환 값

형식: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

IIdentityProvider 인터페이스

CreateDescriptor 오버로드

Microsoft.VisualStudio.Services.Identity 네임스페이스