共用方式為


ITeamFoundationIdentityService.ReadIdentityFromSource 方法

ReadIdentityFromSource 用來 retrive 從來源位置的識別 (AD 或 GSS)。

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Function ReadIdentityFromSource ( _
    requestContext As TeamFoundationRequestContext, _
    descriptor As IdentityDescriptor, _
    withDirectMembership As Boolean _
) As TeamFoundationIdentity
TeamFoundationIdentity ReadIdentityFromSource(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor descriptor,
    bool withDirectMembership
)

參數

傳回值

類型:Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
描述元的 Identity 物件,則為,如果它無法擷取。

.NET Framework 安全性

請參閱

參考

ITeamFoundationIdentityService 介面

Microsoft.TeamFoundation.Server.Core 命名空間