Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Dennis
Starting Member
11 Posts |
Posted - 2007-02-14 : 04:39:39
|
| Hi and thanks in advance:let's say I use windows authentification to log onto SQL Server. I wind up in database X as "dbo". When I look in the server security settings (logins) there is no explicit login for my windows user, so I must have gained access via a group. How can I find out which of the sql server logins my windows login was mapped to? |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-02-14 : 09:04:52
|
| suser_sname()user_name()Peter LarssonHelsingborg, Sweden |
 |
|
|
Dennis
Starting Member
11 Posts |
Posted - 2007-02-14 : 09:13:40
|
| Thanks, but what I mean is this: when I log on with my windows domain user, RD\bugs.bunny, I'm certainly going through the SQL login: BUILTIN\Administrators.how can I see that via a query? Or is it in fact, that I AM logged on as RD\bugs.bunny? even though RD\bugs.bunny isn't explicitly listed in the Security\Logins folder in the management console...? |
 |
|
|
|
|
|