Expand my Community achievements bar.

SOLVED

Active Directory

Avatar

Former Community Member

Hi

Am i able to know which user is logged in into a machine (windows authenticated ) ? i know that in .NET we do this:

System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()

i need to have the user id to send it from my pdf...

thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10
4 Replies

Avatar

Level 10

In Acrobat you can use JavaScript to identify the user.

identity.loginName;

or

console.println("Your name is " + identity.name);

But this method is restricted and can only be executed through a folder level script, batch or console event.

The only way to have access to this without an extra script is a stamp.

Avatar

Former Community Member

thanks for  the answer.

do you know where can i get some information about stamps?

Avatar

Correct answer by
Level 10

Avatar

Former Community Member

So,can i use integrated windows authentication when communication is made between a pdf and a server ?