Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / June 2005

Tip: Looking for answers? Try searching our database.

permissions mystery: ActiveDirectory issue?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Timo - 23 Jun 2005 16:54 GMT
I don't see why my user cannot see a view when she can see the tables that
underlie it and has also been granted select permission on the view.

exec sp_grantlogin [OURDOMAIN\user99]
exec sp_grantdbaccess [OURDOMAIN\user99], 'SARAH'

exec sp_addrole 'TheRole'
exec sp_addrolemember 'TheRole', 'SARAH'create view TestView
as select * from table1
inner join table2
on t1.id = t2.anotherid

grant select on table1 to TheRole
grant select on table2 to TheRole
grant select on TestView to TheRole

User SARAH can see the tables but not the view.

We're using SQL Server 2000 and Windows 2003 Server with ActiveDirectory.

Thanks
Timo
Timo - 23 Jun 2005 19:22 GMT
I've installed Query Analyzer on the user's desktop, and she CAN see the
view. So the problem has to do with the client application (Access 2000 ADP)
and/or ActiveDirectory.  Our domain admin put the Access 2000 ADP on his PC
and he can see the view fine.
Timo

> I don't see why my user cannot see a view when she can see the tables that
> underlie it and has also been granted select permission on the view.
[quoted text clipped - 18 lines]
> Thanks
> Timo
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.