If John had an account on a windows machine the username will display as John
And then he enters his password the same as he would in windows it then checks Johns permissions and displayers the appropriate form

Re: Use Windows Login Details for Visual Basic Project

Posted 28 May 2012 - 06:23 AM

_HAWK_, on 28 May 2012 - 07:11 AM, said:

I don't understand why you need to check the password again, if he logged in he is logged in.

Hi Hawk
ok yes that is true they have logged in I am creating this for a charity called Citizens Advice Bureau and what they wanted is the get the user to login to the application with there username and password again to confirm it is them as there is special information for there accounts only on it form them and they where happy to have
it made that they login using there windows id and password

I have the ID part but don't know to confirm the password section of it

Re: Use Windows Login Details for Visual Basic Project

Posted 29 May 2012 - 11:28 AM

I don't think it'd be smart to post a code that retrieves the user's windows password here, as it could easily be used for... malicious purposes. of course I don't doubt your intentions just the ones of the internet