Impersonates the user provided.

Namespace: MonoSoftware.Core.Security
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static void Impersonate(
	string userName,
	string password
)
Visual Basic
Public Shared Sub Impersonate ( 
	userName As String,
	password As String
)
Visual C++
public:
static void Impersonate(
	String^ userName, 
	String^ password
)
F#
static member Impersonate : 
        userName : string * 
        password : string -> unit 

Parameters

userName
Type: System..::..String
Username
password
Type: System..::..String
Password

See Also