|
-
Sep 15th, 2000, 03:29 PM
#1
Thread Starter
Addicted Member
I have two groups that have different access to my SQL Server database... One group can only read while the other can read or write. I want to be able to determine which type they are when the app starts to determine how the program will run.
Is there a way to connect to the database and then check to see what kind of permission the person logged into the database has?
-
Sep 15th, 2000, 03:35 PM
#2
Addicted Member
there is away to set permission in sql server(dont exactly remember how at the moment). You can create users with specific permisions and then use the accounts in the connect string. In enterprise manager for sql server, if you look under security for that DB server you can see logons which is where you can create those accounts. when you create those accounts you can use those for the user id and passwrod in the connect string.
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
|