Hi!
Did anyone already had to develop a Windows Authentication?
The situation is easy: I have users using Windows Login to access Navision.
Now i'm developing an extra module that for safety issues needs an extra authentication from the user. And he will have to type his Windows password.
So my question is: is there anyway to ask the system if the password he typed is the correct password??
Thanks in advance,
Pedro
0
Comments
But there is a workaround.
Develop in .NET a COM object that makes the login in AD.
In codeunit 1 , call that COM object every time the user logons to Navision.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
the point is that im developing codeunits to be in use with ADCS (i.e., software for pda terminals).
ADCS routines have already a way of doing the Login in the PDA, but with DB authentication. (accessing Table 2000000002 - User)
The problem is that the database is already in use in the client with Windows Authentication.
So I would prefer to keep the same login/password...
Change the Validation to use a .NET COM object, to validate the user and password in the Active Directory.
There are plenty of .NET samples in the WWW, just make a .NET wrapper for that.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
regards.
David