この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。
名前空間: Microsoft.TeamFoundation.Common.Internal
アセンブリ: Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)
構文
'宣言
Public Shared Function SidToName ( _
sid As IntPtr, _
<OutAttribute> ByRef domainName As String, _
<OutAttribute> ByRef accountType As NativeMethods.AccountType _
) As String
public static string SidToName(
IntPtr sid,
out string domainName,
out NativeMethods.AccountType accountType
)
パラメーター
- sid
型 : System.IntPtr
- domainName
型 : System.String%
- accountType
型 : Microsoft.TeamFoundation.Common.Internal.NativeMethods.AccountType%
戻り値
型 : System.String