Solved

How to obtain user's Login ID and Password

Posted on 1998-10-09
5
157 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now