共用方式為


TeamFoundationIdentityService.ReadIdentityFromSource 方法

ReadIdentityFromSource 用來擷取其識別從來源位置 (AD 或 GSS)。

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

語法

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

參數

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
識別物件描述項,如果它無法被讀取,則為 null。

實作

ITeamFoundationIdentityService.ReadIdentityFromSource(TeamFoundationRequestContext, IdentityDescriptor, Boolean)

.NET Framework 安全性

請參閱

參考

TeamFoundationIdentityService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間