Méthode | Description | |
---|---|---|
ImpersonateValidUser ( String userName, String domain, String password ) : bool |
Impersonate a User
|
|
Impersonation ( ) : System | ||
UndoImpersonation ( ) : void |
Stop impersonation and return to the current user
|
Méthode | Description | |
---|---|---|
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 |
Résultat | bool |