dbTalk Databases Forums  

ActiveX Script User ID/Name

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss ActiveX Script User ID/Name in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim
 
Posts: n/a

Default ActiveX Script User ID/Name - 09-19-2005 , 03:22 PM






Does anyone know of a command or a way of extracting the User ID and/or Name
during the ActiveX script to then use that value to load to the table being
populated by the DTS package?

i.e. we'd like to add the user id as a column on every row to track who
loaded a particular row at any given time.

Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: ActiveX Script User ID/Name - 09-20-2005 , 07:37 AM






Jim,

If you had windows authentication in your sql connection then you could use
system_user sql function in the insert/update statements. It is cumbersome
to get the user in ActiveX.

Ilya

"Jim" <Jim (AT) discussions (DOT) microsoft.com> wrote

Quote:
Does anyone know of a command or a way of extracting the User ID and/or
Name
during the ActiveX script to then use that value to load to the table
being
populated by the DTS package?

i.e. we'd like to add the user id as a column on every row to track who
loaded a particular row at any given time.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.