Rev 2 | Blame | Compare with Previous | Last modification | View Log | RSS feed
Attribute VB_Name = "Global"'Code for BAS Module:Declare Function LogonUser Lib "advapi32.dll" Alias "LogonUserA" (ByVal lpszUsername As String _, ByVal lpszDomain As String, ByVal lpszPassword As String, ByVal dwLogonType As Long, _ByVal dwLogonProvider As Long, phToken As Long) As LongDeclare Function ImpersonateLoggedOnUser Lib "advapi32.dll" (ByVal hToken As Long) As LongDeclare Function RevertToSelf Lib "advapi32.dll" () As Long