I do not understand what RevertToSelf() does in a .net application. Checking the definition of MSDN, he reads the definition as
The RevertToSelf function terminates the impersonation of a client application.
So does the current user context in the sysadmin context change, stopping the client context? Calling RevertToSelf () will my code work in sys admin mode?
Update
Well, what happens if I call RevertToSelf () in an ASP.NET application? Let's consider that I do not begin avatars. So, if I call RevertToSelf (), will it return to the application pool id?
source share