> >> ImpersonateContext as well as RevertContext. > >> ImpersonateContext will make the calling thread run in > >> the security context of the authenticated user. > > > > I'm using LogonUser, ImpersonateLoggedOnUser and RevertToSelf in some > > of my applications. What are the differences between those and > > ImpersonateContext and RevertContext ? > > LogonUser works only if your account has 'Act As Part Of The > Operating System' privileges. Beside that I think they are the same.
LogonUser work if the already logged on user (that is the session user) has "Log on locally" permission. I don't think 'Act As Part Of The Operating System' privileges is related to LogonUser. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
