TeamFoundationIdentityService.ReadIdentityFromSource 方法

ReadIdentityFromSource 用来从其源位置检索身份 (广告或 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 命名空间