Re: Authenticate in SAM database...
From: Ferruccio Barletta ("Ferruccio)
Date: 05/21/03
- Next message: Ivan Medvedev [MS]: "Re: Compute XML Signature on external Xml document"
- Previous message: J-P Meunier: "Xml Signature: Signed and Unsigned Properties"
- In reply to: Jim: "Authenticate in SAM database..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 21 May 2003 10:45:27 -0400
Try the LogonUser() API
"Jim" <ssss> wrote in message news:u5nFopHGDHA.1600@tk2msftngp13.phx.gbl...
> How do I authenticate a username and password in the local SAM database,
I
> can find the entry but don't know how to authenticate the password?
>
>
> System.DirectoryServices.DirectoryEntry obDirEntry = new
> System.DirectoryServices.DirectoryEntry("WinNT://" + "OR2400" );
> System.DirectoryServices.DirectoryEntries entries = obDirEntry.Children;
> System.DirectoryServices.DirectoryEntry obUser = entries.Find(username);
>
> Thx
>
> Jim
>
>
- Next message: Ivan Medvedev [MS]: "Re: Compute XML Signature on external Xml document"
- Previous message: J-P Meunier: "Xml Signature: Signed and Unsigned Properties"
- In reply to: Jim: "Authenticate in SAM database..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
Loading