p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   SQL Server ASP (http://p2p.wrox.com/forumdisplay.php?f=101)
-   -   UserId/Computer Name (http://p2p.wrox.com/showthread.php?t=32056)

mrookey August 2nd, 2005 07:19 AM

UserId/Computer Name
Good morning! I am using DWMX with MS SQL and have created a history table that is populated via a trigger everytime an insert, update, or delete action takes place on a particular table. My problem is trying to capture either the UserId/Computer name of the person performing the action. I've tried "SUSER_SNAME" and "USER", but it only returns the Userid of the person currently logged on - me! Although I'm using session variables in the application, I can't seem to translate those into Userids in SQL - any ideas?

charul_shukla August 2nd, 2005 07:23 AM

Avoid Cross postings of same topics.

Cross Posting.


Charul Shukla

All times are GMT -4. The time now is 09:26 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.