TeamFoundationSecurityNamespace.EnsureIdentityIsKnown 메서드
보안 네임 스페이스에 대 한 보안 그룹의 id를 확인 합니다. 이 함수는만 Ace Api를 사용 하 여이 인터페이스에서 외에 유지 되는 경우 호출 해야
네임스페이스: Microsoft.TeamFoundation.Framework.Server
어셈블리: Microsoft.TeamFoundation.Framework.Server(Microsoft.TeamFoundation.Framework.Server.dll)
구문
‘선언
Public Function EnsureIdentityIsKnown ( _
requestContext As TeamFoundationRequestContext, _
identity As IdentityDescriptor _
) As Identity
public Identity EnsureIdentityIsKnown(
TeamFoundationRequestContext requestContext,
IdentityDescriptor identity
)
매개 변수
- requestContext
형식: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
현재 요청의 컨텍스트입니다.
- identity
형식: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
되도록 id가 잘못 되었습니다.
반환 값
형식: Microsoft.VisualStudio.Services.Identity.Identity
Identity 를 반환합니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.