sql server - How to get the caller's user id in an impersonated procedure? -


if write procedure "execute xxx", possible retrieve original user, called procedure, somehow within procedure ?

does original_login() return information you're after?

http://technet.microsoft.com/en-us/library/ms189492.aspx


Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - UICollectionView Self Sizing Cells with Auto Layout -