Question : SUser_Name function in sql server

Hello
If i use windows authentaction login and write the following
select suser_name()
it comes the SQL Login name "current Windows account login name"
that's good
but if i login to sql server by using SQL Login and i tried
select suser_name()
It shows SQL Login
But in this case how can i get the current Windows account Login . is there another funvction to do that?

Thanks

Answer : SUser_Name function in sql server

no, there is no function to get that information in that scenario
Random Solutions  
 
programming4us programming4us