Share via


IdentityHelper.CreateDescriptorFromSid 方法 (String)

创建 TFS 或 windows 描述符 SID 基于标识的。 如果该类型已经知道,使用类型特定的创建方法会更快。

TFS 组 SID 从 S-1-9-1551374245 启动。 另一个将窗口,已知的格式为 S-1-5-xxxx,因此,具有很好地了解具有以下形式 S-1-0,S-1-0-xx,S-1-2,S-1-3,S-1-3-xx,S-1-4,S-1-5 的 SID 的组中,S-1-5-xxx

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

语法

声明
Public Shared Function CreateDescriptorFromSid ( _
    sid As String _
) As IdentityDescriptor
public static IdentityDescriptor CreateDescriptorFromSid(
    string sid
)

参数

返回值

类型:Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
返回 IdentityDescriptor。

.NET Framework 安全性

请参阅

参考

IdentityHelper 类

CreateDescriptorFromSid 重载

Microsoft.TeamFoundation.Framework.Server 命名空间