Determine what user called my stored procedure

Posted by Russell Steen on Stack Overflow See other posts from Stack Overflow or by Russell Steen
Published on 2010-03-29T15:38:23Z Indexed on 2010/03/29 15:53 UTC
Read the original article Hit count: 393

Filed under:

I'm sure this has been asked, but search isn't returning the answer.

In a stored procedure, how do I get the value of the user/login that called the stored procedure (name?), assuming I don't already have server_user_id

© Stack Overflow or respective owner

Related posts about sql-server-2008