IdentityHelper.CreateDescriptorFromSid 方法 (String)

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

TFS组SID从S-1-9-1551374245启动。另一个将Windows中,已知的格式为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.TeamFoundation.Framework.Server.IdentityDescriptor
返回 IdentityDescriptor

.NET Framework 安全性

请参见

参考

IdentityHelper 类

CreateDescriptorFromSid 重载

Microsoft.TeamFoundation.Framework.Server 命名空间