C language function:ImpersonateSelf sample codes

Search sample code in the internet.It is the result.


TITLE : Using a Token to Execute Code - Programming Server-Side Applications for Microsoft Windows 2000 (Microsoft Programming)
BOOL ImpersonateSelf(.......
http://flylib.com/books/en/4.420.1.88/1/


TITLE : Advapi32 (JNA API)
boolean ImpersonateSelf(int ImpersonationLevel).......
http://java-native-access.github.io/jna/4.2.1/com/sun/jna/platform/win32/Advapi32.html
TITLE : Advapi32 (JNA API)
boolean ImpersonateSelf(int ImpersonationLevel).......
http://java-native-access.github.io/jna/4.2.1/com/sun/jna/platform/win32/Advapi32.html
TITLE : SetThreadToken function (Windows)
BOOL WINAPI ImpersonateSelf(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa378729(v=vs.85).aspx
TITLE : c++ - Multilevel usage of thread impersonation - Stack Overflow
Does calling ImpersonateSelf() cancel all security token adjustments made to the same thread?.......
http://stackoverflow.com/questions/4818183/multilevel-usage-of-thread-impersonation
TITLE : The Windows secure programming model based on the Windows access control list of the Win32 library with C working program examples
The ImpersonateSelf() function enables a thread to generate a copy of its own access token. This is useful when an application needs to change the security context of a single thread. For example, sometimes only one thread of a process needs to enable a privilege........
http://www.tenouk.com/ModuleI3.html
search Google

https://www.google.com/#q=ImpersonateSelf