메소드 | 설명 | |
---|---|---|
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 |
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 |