Capture User Name / User ID

B

Bill

I would like to capture the network user name / user ID when a check box is
clicked or when a date is set (date picker control box) by a user. I have a
checklist that needs to track who approved the action and when.
 
S

Sandeep

Hi Bill
You can write code in jscript.

var wshShell = new ActiveXObject("Wscript.Shell");
var wshEnv = wshShell.Environment("Process");
var username = wshEnv.Item("UserName");
XDocument.DOM.selectSingleNode("/my:myFields/my:name").text = username
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top