IIdentityProvider.CreateDescriptor 方法 (TeamFoundationRequestContext, IIdentity)

创建从 ASP.NET 提供的 IIdentity 实例的类型描述符进行验证的用户 (通过 web 请求的 HttpContext.User.Identity 属性)。

命名空间:  Microsoft.VisualStudio.Services.Identity
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Function CreateDescriptor ( _
    requestContext As TeamFoundationRequestContext, _
    identity As IIdentity _
) As IdentityDescriptor
IdentityDescriptor CreateDescriptor(
    TeamFoundationRequestContext requestContext,
    IIdentity identity
)

参数

返回值

类型:Microsoft.VisualStudio.Services.Identity.IdentityDescriptor

.NET Framework 安全性

请参阅

参考

IIdentityProvider 接口

CreateDescriptor 重载

Microsoft.VisualStudio.Services.Identity 命名空间