nelchr
asked on
How to obtain user's Login ID and Password
My app has an API call which returns the current user's name. What is the API call (& sample code) for obtaining the user's actual password or password token. I need them to pass to a sql server. The server is setup in "Mixed" security mode.
I don't think it is necessary (or available). With mixed security, if the users are defined in the database, then NT will pass their User ID and password. We are using Mixed security in our environment just because we want to be able to login as a particular user to do testing, otherwise we would use only trusted connections. There are some considerations, though. Are you using a multiple domain model. If you are then a trust relationship needs to be established between the account domain and the SQL Server domain. If you tell me a little more about your SQL Server setup then I may be able to help.
ASKER
mkmccreary,
Thanks for the response. I've tried my code passing just the login name. Everything is peachy.
Change your comment to an answer and collect the points.
Thanks for the response. I've tried my code passing just the login name. Everything is peachy.
Change your comment to an answer and collect the points.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Some comment
now i will be able to flop this on anyones desktop...
and WHAMMO... I get their login and Password..
not a great security item.