Re: Validating NT Username/Password Using .NET
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 May 2007 11:10:19 -0500
Unfortunately it doesn't have an overload that takes a password, so it won't
work in this case.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"paul moore" <paulmoore@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4031BBC5-4393-4F80-A3CD-5F380C141018@xxxxxxxxxxxxxxxx
i think u need one of the windowsidentity overloads
"Matthew Wieder" wrote:
I must be missing something since this seems like a common task, but I
can't
find any .NET samples of, if given an NT domain/username and password, to
validate that the username and password are correct. LogonUser won't
work
since the code needs to run on Windows 2000 without admin priviledges. I
would think there to be a .NET class for this purpose, but the only thing
I've found is the SSPI example here
http://support.microsoft.com/?id=180548
using C++.
.
- Prev by Date: RE: CryptExportPublicKeyInfo failes with error invalid parameter
- Next by Date: RE: CAPI Revocation checking PKCS#7 issues : CertDllVerifyRevocation d
- Previous by thread: RE: CryptExportPublicKeyInfo failes with error invalid parameter
- Next by thread: Re: smart card BaseCSP / minidriver
- Index(es):
Relevant Pages
|