Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
Impersonate ( string userName, string domain, string password ) : bool | ||
RunAs ( string userName, string domain, string password, System.Action action ) : bool | ||
Undo ( ) : void |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
CloseHandle ( |
||
DuplicateToken ( |
||
LogonUser ( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, |
||
RevertToSelf ( ) : bool |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Impersonate ( string userName, string domain, string password ) : bool | ||
userName | string | |
domain | string | |
password | string | |
Результат | bool |
public static RunAs ( string userName, string domain, string password, System.Action action ) : bool | ||
userName | string | |
domain | string | |
password | string | |
action | System.Action | |
Результат | bool |