System.Security.Principal.WindowsPrincipal principal =
(WindowsPrincipal)System.Threading.Thread.CurrentPrincipal;
However, this throws an exception on two different systems, one (running
Vista Ultimate) that is a member of a domain and I am logged in as a
domain user and one (running Windows 7) that is not a member of a domain.
Under what circumstances does this work?
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972
"APA" <bud...@excite.com> wrote in message
news:OqpWn5mZ...@TK2MSFTNGP05.phx.gbl...