General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
>Mike - saw this from awhile back - what if you're NOT using NT authorization? Can you still get NT account? How/
>
>TIA!
>
>>If you're using NT Auth, the function SUSER_SNAME() will return the NT account that was used to attach to the server.
>>
>>-Mike
No, cause if you are not using NT auth, you don't have to be logged into the SQL Server.. so, SUSER_NAME() will return the SQL SErver login id name. Of course, they want you to use SUSER_SNAME() now.
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only