Is it possible to simulate a "Windows logon" in code e.g. the user enters their user name and password and the code logs in to the main server? If so how?
function IsValidUser(AUser, APass: string): boolean; begin // Assume a positive result
Result := true; // Verify the username and password try
SSPLogonUser('',AUser, APass); except
Result := false; end; end;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.