P
Patrick Wolf
Hi,
I am thinking of setting up the security for my current Access 2003 Project
with MS-SQL 2000 in the following way and would like some comments and tips
about it if possible:
- We use SQL Server 2000 with integrated authentication
- The Database itself has a these roles: "user, manager, admin"
- These roles have different rights on the tables in the database
- In the Enterprise Manager we make logins for the windows user groups
"user, manager and admins" and connect them with the internal roles of our
database.
- User log on to their computer.
- User open the Access Project and will automatically log on to the SQL
Server into their respective groups and roles due to integrated
authentication (does this work this way?). Eg. a user in the windows group
"manager" will end up having the role "manager" in the database?
- Inside the Access Project with VBA I like to query SQL Server about which
role the user has and what the user name is (how would I do this)?
- With knowing the user name and role I can go about disabling buttons etc.
Thanks a lot for any help or suggestions
Patrick
I am thinking of setting up the security for my current Access 2003 Project
with MS-SQL 2000 in the following way and would like some comments and tips
about it if possible:
- We use SQL Server 2000 with integrated authentication
- The Database itself has a these roles: "user, manager, admin"
- These roles have different rights on the tables in the database
- In the Enterprise Manager we make logins for the windows user groups
"user, manager and admins" and connect them with the internal roles of our
database.
- User log on to their computer.
- User open the Access Project and will automatically log on to the SQL
Server into their respective groups and roles due to integrated
authentication (does this work this way?). Eg. a user in the windows group
"manager" will end up having the role "manager" in the database?
- Inside the Access Project with VBA I like to query SQL Server about which
role the user has and what the user name is (how would I do this)?
- With knowing the user name and role I can go about disabling buttons etc.
Thanks a lot for any help or suggestions
Patrick