TeamFoundationSecurityNamespace.EnsureIdentityIsKnown 方法

确保身份的安全组中为给定的安全的命名空间。 此函数仅有如果 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
)

参数

返回值

类型:Microsoft.VisualStudio.Services.Identity.Identity
返回 TeamFoundationIdentity

.NET Framework 安全性

请参见

参考

TeamFoundationSecurityNamespace 类

Microsoft.TeamFoundation.Framework.Server 命名空间