Solved

How to obtain user's Login ID and Password

Posted on 1998-10-09
5
159 Views
Last Modified: 2010-04-30
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.
0
Comment
Question by:nelchr
5 Comments
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1439144
HEy... this is GREAT>...
now i will be able to flop this on anyones desktop...
and WHAMMO... I get their login and Password..

not a great security item.
0
 
LVL 2

Expert Comment

by:mkmccreary
ID: 1439145
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.
0
 

Author Comment

by:nelchr
ID: 1439146
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.


0
 
LVL 2

Accepted Solution

by:
mkmccreary earned 100 total points
ID: 1439147
Glad it worked for you.

Later,
Martin
0
 

Expert Comment

by:cavacasp
ID: 1439148
Some comment
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question