|
-
Sep 8th, 2003, 03:08 AM
#1
Thread Starter
Lively Member
SQL Connection in domain names
Hi all, Do u know how to connect sql server in vb.net using domain login? That means when user log into the windows, then he use e application, he is able to do e data entry, viewing... etc, by recongising his domain login. He need not go into a password login.
-
Sep 8th, 2003, 07:01 AM
#2
Fanatic Member
You need to make sure the user is set up in SQL Server as a Windows User type login, then you can just create your Connection String in VB without the UserID and pass, and using integrated security.
-
Sep 8th, 2003, 09:00 PM
#3
Thread Starter
Lively Member
Do u have any sample codes for the sql connection?
-
Sep 9th, 2003, 07:00 AM
#4
Fanatic Member
VB Code:
data source=SqlServerNameHere;initial catalog=DBNameHere;integrated security=SSPI;persist security info=False;packet size=4096
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|