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
LsaFreeMemory
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: 22
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (107.21.156.140)
3 sec.Example: 'Reading and setting system access privileges for the current process'
36.18 min.Example: 'Winsock: sending email messages (SMTP, port 25)'
36.23 min.Example: 'Setting the Window Region for a form'
36.3 min.Example: 'Monitoring changes in a directory'
1.27 hrs.Function: 'FreeEnvironmentStrings'
Function group: 'Process and Thread'
 Example: 'How to retrieve version information for the specified file'
2.07 hrs.Example: 'How to disable the Windows Clipboard (VFP9)'
 Example: 'Enumerating Performance Counters'
 Example: 'Retrieving the name of the primary domain controller (PDC) and join status information (NT/2000/XP)'
2.63 hrs.Function: 'InternetAttemptConnect'
Function group: 'Internet Functions (WinInet)'
Google
Advertise here!