Solved

How to obtain user's Login ID and Password

Posted on 1998-10-09
5
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

696 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