Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Windows Password

I would like to authenticate one of my Excel Application against the Windows
Username and Password. I have found out how to get the Username, but I am
unable to find anything on the password.

Does anyone know how to authenticate against the Windows password?

Thanks,
Robert
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Windows Password

Robert,

You could pick up on a technique shown on Randy Birch's site for
'Authenticating a User though the NT Challenge Process'. You can find it at
http://vbnet.mvps.org/, and search for the title I just gave you.

To quote the page into '...Windows users in a corporate environment are
familiar with the NT Challenge procedure .. they call it logging on. In a
nutshell, the NT Challenge attempts to confirm the credentials entered by
the user against security information on the login machine - the local
workstation or domain server. When the challenge is successful, the login
continues; when it is not, the user's attempted login count is incremented
by one until the administrator-defined account lockout point is reached.
....'

But be warned, it is not simple, and you will need to adapt his code to your
app. I hope you aren't expecting a simple solution.

--
HTH

Bob Phillips

"cmart02" wrote in message
...
I would like to authenticate one of my Excel Application against the

Windows
Username and Password. I have found out how to get the Username, but I am
unable to find anything on the password.

Does anyone know how to authenticate against the Windows password?

Thanks,
Robert



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Windows Password

Bob,

Thanks for the message.

No, I was not expecting anything simple, but from what I have already seen,
it should not be defficult to adapt to VBA.

I did not know the site and it has great resources, so I thank you for that
too!!!

Best regards,
Robert
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Windows Password

Robert,

You are right, but I know a lot of people would be frightened by all that
code, and the technical bent of it :-). I know it works, as I use it myself
in VBA.

It is a great site, and whilst it is really aimed at VB, there is loads that
can be adapted to VBA.

Good luck with it

Bob

"cmart02" wrote in message
...
Bob,

Thanks for the message.

No, I was not expecting anything simple, but from what I have already

seen,
it should not be defficult to adapt to VBA.

I did not know the site and it has great resources, so I thank you for

that
too!!!

Best regards,
Robert



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot open exel from windows xp in windows vista and visa versa lildiana New Users to Excel 4 February 25th 09 07:26 PM
can windows vista edit shared document from windows xp sasa Excel Worksheet Functions 1 January 9th 08 06:44 PM
Use Windows Network logon as password Spencer Hutton[_3_] Excel Programming 2 October 13th 04 01:17 PM
Use Windows Script to run Windows Explorer Search? Ian Elliott[_3_] Excel Programming 0 January 12th 04 05:03 PM
Windows Login Password john.petty Excel Programming 1 September 15th 03 11:22 PM


All times are GMT +1. The time now is 06:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"