SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Missing sysuser record
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

santillo777
Starting Member

4 Posts

Posted - 06/04/2008 :  14:23:34  Show Profile  Reply with Quote
Is there a reason why a record in sys.sysuser would be visible to the system admin login but not to a standard user? If I want the standard user to see all the records in sys.sysuser, is there a permission setting I can change to make that happen? If I give the standard user system admin permissions, all records show up. But I cannot keep the standard user as system admin. Thanks.

Edited by - tkizer on 06/04/2008 15:35:23

tkizer
Almighty SQL Goddess

USA
37133 Posts

Posted - 06/04/2008 :  14:44:50  Show Profile  Visit tkizer's Homepage  Reply with Quote
Why would anyone want to look in sys.sysuser?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page

santillo777
Starting Member

4 Posts

Posted - 06/04/2008 :  15:04:36  Show Profile  Reply with Quote
We use Hyperion Intelligence for analysis against SQL Server. Hyperion uses a query that joins sysuser to sysobjects to get the table catalog used to visually build queries. Because of the hidden record in sysuser, the inner join results in an empty result set causig the table catalog in Hyperion to be empty. So it's pretty important to understand how to understand why there is a missing record in sysuser.
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
37133 Posts

Posted - 06/04/2008 :  15:11:05  Show Profile  Visit tkizer's Homepage  Reply with Quote
I'm confused as you've posted your question in the 2000 forum, yet sys.sysusers is in 2005. sysusers is in 2000 though. So which version are you using? If 2005, why can't it sys.database_principals? Or does that not solve the problem either?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page

santillo777
Starting Member

4 Posts

Posted - 06/04/2008 :  15:27:40  Show Profile  Reply with Quote
sorry it is for SQL Server 2005. I re-posted it at http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=104189 and will remove it from this forum.
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
37133 Posts

Posted - 06/04/2008 :  15:35:01  Show Profile  Visit tkizer's Homepage  Reply with Quote
I'm going to move this thread to the 2005 forum and lock your new one, since it's a duplicate.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000