Re: username
From: David (dgallaher_at_quantum.ca)
Date: 11/24/04
- Next message: David: "Re: adding new field"
- Previous message: Bill Todd: "Re: ADO / Clientdataset slowness"
- In reply to: Brian Bushay TeamB: "Re: username"
- Next in thread: Koen Verbeeck: "Re: username"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Nov 2004 00:14:48 -0500
Try double clicking on the TADOConnection, this will open a dialog box,
Click on build and there you can enter user name, password, database an so
on.
"Brian Bushay TeamB" <BBushay@Nmpls.com> wrote in message
news:sna5q0dhjtj3m3inv44i2i5470itqfdfk9@4ax.com...
>
>>How do i obtain the username in my delphi application used to logon to
>>SQL-server tru an ADO-connection.
>>The ADOConnection component seems to have no way to determine the
>>username.
>>I guess i could write a sproc to return it but i do not what to get down
>>to
>>the dbms itself.
>
> You can check the AdoConnection.Properties
> ADOConnection.Properties['User ID'].Value
> --
> Brian Bushay (TeamB)
> Bbushay@NMPLS.com
- Next message: David: "Re: adding new field"
- Previous message: Bill Todd: "Re: ADO / Clientdataset slowness"
- In reply to: Brian Bushay TeamB: "Re: username"
- Next in thread: Koen Verbeeck: "Re: username"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|