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