Using Win32 functions in Visual FoxPro Image Gallery
Security
..msdn
ConvertSidToStringSid
GetAce
GetAclInformation
GetFileSecurity
GetLengthSid
GetNamedSecurityInfo
GetSecurityDescriptorDacl
GetSecurityDescriptorOwner
ImpersonateLoggedOnUser
IsValidSid
IsWellKnownSid
LogonUser
LookupAccountName
LookupAccountSid
LsaClose
LsaEnumerateLogonSessions
LsaFreeMemory
LsaFreeReturnBuffer
LsaGetLogonSessionData
LsaLookupSids
LsaOpenPolicy
RevertToSelf
Code examples:
How to run FoxPro application under different user name (impersonating user)
RevertToSelf
..msdn    Add comment     W32 Constants      Translate this page
The RevertToSelf function terminates the impersonation of a client application.
Code examples:
How to run FoxPro application under different user name (impersonating user)
Declaration:
BOOL RevertToSelf(void);
FoxPro declaration:
DECLARE INTEGER RevertToSelf IN advapi32
Parameters:
This function has no parameters.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
A process should call the RevertToSelf function after finishing any impersonation begun by using the DdeImpersonateClient, ImpersonateDdeClientWindow, ImpersonateLoggedOnUser, ImpersonateNamedPipeClient, ImpersonateSelf, ImpersonateAnonymousToken or SetThreadToken function.
Word Index links for the RevertToSelf :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-10-06 12:03:57
Modified: 2004-10-06 12:04:57
Visited in last 7 days: 18
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.178.153)
10 sec.Function: 'UpdateResource'
20 sec.Function: 'ConnectNamedPipe'
31 sec.Function: 'SendARP'
42 sec.Function: 'SetVolumeLabel'
54 sec.Function: 'GetCurrencyFormat'
1.08 min.Function: 'OpenSemaphore'
1.25 min.
Function group: 'MSHTML Reference'
1.43 min.Function: 'GdipGetPropertyCount'
1.6 min.Function: 'midiOutClose'
1.78 min.Function: 'SHEnumKeyEx'
Google
Advertise here!