posted on Sunday, December 12, 2004 2:06 PM
by
Saravana
Debugging User Security Context
Most of the times we come across a situation where we need to find in which user context the debuggin thread is running. It is not a easy task till whidbey. In whidbey there is a concept called pseudo -register, in which they are introducing a fake variable $user which can be evaluated in any watch windows. This variable will give information about security context of the debugging user. Information including name, user sid, loggin id, whether impersonation is enable or not, security privileges and groups of that user can found using this variable. For details about this, check this msdn blogs
http://blogs.msdn.com/shawnfa/archive/2004/09/23/233665.aspx
http://blogs.msdn.com/greggm/archive/2004/12/11/279978.aspx