EffectiveUserName
Read-only. The user name that is in effect for the current script.
For a script running on a workstation, this is the name of the current user.
For a script running on a server, this is the name of the script's owner (the person who last saved the script).
按照帮助所说,effectiveusername返回的是在服务器上运行的script代理最后修改者啊,并不是当前用户!
我没有其他办法可以获得username,那个高手还有高招啊?