home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 17,753 of 19,505   
   Erland Sommarskog to daicamad   
   Re: Who am I just login server   
   08 Feb 10 22:21:33   
   
   b2e24a08   
   From: esquel@sommarskog.se   
      
   daicamad (daicamad@gmail.com) writes:   
   > Hi all, while I work on SQL Server for some time but never being on   
   > admin tasks.   
   >   
   > I install SQL Server 2008 on Admin account of Windows 7, create a   
   > database AB (used Window authenticate login or the login at   
   > installation).   
   > I create a Standard user account, and login to the database,   
   > successfully. I attempt to access to database AB, and obviously   
   > without success.   
   >   
   > Now I have a question: Who I am just login to the server as a Standard   
   > user?   
   > When I login in as Standard user using Window authenticate, I see only   
   > 2 logins in that are BUILDIN\Users and sa   
      
   BUILTIN\Users is a group that includes all users on the machine.   
      
   To see as whom you are logged in as, you can do   
      
      SELECT SYSTEM_USER   
      
   from a query window.   
      
      
   --   
   Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se   
      
   Links for SQL Server Books Online:   
   SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx   
   SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx   
   SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca