共用方式為


SidIdentityHelper.ResolveSid 方法 (SecurityIdentifierInfo, String%, String%, NativeMethods.AccountType%, Boolean%, Boolean%)

命名空間:  Microsoft.TeamFoundation.Framework.Common
組件:  Microsoft.TeamFoundation.Common (在 Microsoft.TeamFoundation.Common.dll 中)

語法

'宣告
Public Shared Sub ResolveSid ( _
    securityIdInfo As SecurityIdentifierInfo, _
    <OutAttribute> ByRef domain As String, _
    <OutAttribute> ByRef userName As String, _
    <OutAttribute> ByRef type As NativeMethods.AccountType, _
    <OutAttribute> ByRef isDeleted As Boolean, _
    <OutAttribute> ByRef migrated As Boolean _
)
public static void ResolveSid(
    SecurityIdentifierInfo securityIdInfo,
    out string domain,
    out string userName,
    out NativeMethods.AccountType type,
    out bool isDeleted,
    out bool migrated
)

參數

.NET Framework 安全性

請參閱

參考

SidIdentityHelper 類別

ResolveSid 多載

Microsoft.TeamFoundation.Framework.Common 命名空間