Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Capturing the username in a rendered PDF using JavaScript/FormCalc

_Frederik-Jan_R
Level 2
Level 2
Hi,



I'm looking for a way to capture the windows username/login from inside a rendered PDF using JavaScript or FormCalc.



I know it should be near impossible to do this in a browser because of the built-in safeties and blocks straight into JavaScript, but I was hoping it's different for a PDF.



Is this possible, or isn't it?



Thanks in advance,

Frederik-Jan
1 Reply
Allta_Media
Level 2
Level 2
Might want to take a peek at this response to a similar question:

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=14045



In short, this object (Identity object in Acrobat JavaScript) cannot be accessed from a script in a PDF but it could be accessed from a privileged context.