05-28-2012, 11:06 AM
Hey Bradley.
For obvious reasons, there is no one simple way to retrieve the data of the currently logged in user, as MS does not want people to simply code applications that steal security information. I have never tried to do this sort of thing, but I think that this article may help you:
<!-- m --><a class="postlink" href="http://www.dotnet-snippets.com/dns/check-windows-password-SID582.aspx">http://www.dotnet-snippets.com/dns/chec ... ID582.aspx</a><!-- m -->
EDIT: Here is another article you may find handy:
<!-- m --><a class="postlink" href="http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm">http://vbnet.mvps.org/index.html?code/n ... ontext.htm</a><!-- m -->
For obvious reasons, there is no one simple way to retrieve the data of the currently logged in user, as MS does not want people to simply code applications that steal security information. I have never tried to do this sort of thing, but I think that this article may help you:
<!-- m --><a class="postlink" href="http://www.dotnet-snippets.com/dns/check-windows-password-SID582.aspx">http://www.dotnet-snippets.com/dns/chec ... ID582.aspx</a><!-- m -->
EDIT: Here is another article you may find handy:
<!-- m --><a class="postlink" href="http://vbnet.mvps.org/index.html?code/network/acceptsecuritycontext.htm">http://vbnet.mvps.org/index.html?code/n ... ontext.htm</a><!-- m -->