메소드 | 설명 | |
---|---|---|
ImpersonateValidUser ( String userName, String domain, String password ) : bool |
Impersonate a User
|
|
Impersonation ( ) : System | ||
UndoImpersonation ( ) : void |
Stop impersonation and return to the current user
|
메소드 | 설명 | |
---|---|---|
CloseHandle ( |
||
DuplicateToken ( |
||
LogonUserA ( String lpszUserName, String lpszDomain, String lpszPassword, int dwLogonType, int dwLogonProvider, |
||
RevertToSelf ( ) : bool |
public ImpersonateValidUser ( String userName, String domain, String password ) : bool | ||
userName | String | The User |
domain | String | The Domain |
password | String | The Password |
리턴 | bool |