Capturing a user's NT Account ID in Outlook

  • Thread starter Thread starter SWBradbury
  • Start date Start date
S

SWBradbury

Hello!

Does anyone happen to know if there is a way in Outlook 2000 VBA that
you can capture a user's NT Account ID and assign it to a variable?

What I'm looking to do is setup a macro on all of our user's machines
that will automatically save email attachments to their "home"
folders on our network. (All home folders are named after their NT
IDs) I just don't want to have to maually code each machine I set the
macro up on.

Maybe something like:

NTid = "whatever method used to get ID?"
myAttachments.Item.SaveAsFile "\\servername\" + NTid + "$\" &_
myAttachments.Item.DisplayName

I'm not sure if it's this simple or not... But any help would be
appreciated.

Thanks,
SWBradbury
 
Back
Top