Highlighted

How to retrieve a windows/system username ?

Jay_S_A

05-08-2009

Hi everyone,

Is there any javascript property or method to retrieve the system/windows username.

Thanks in Advance.

Replies

Highlighted

_Nith_

06-08-2009

Hi,

You can!

When you drag the workflow fields tot he form, there will be a hidden AWS_ASSIGNED_ID field..

which will have the principal id of the user as per the MySql definition..

pass this value to a web service and get the user name from the tb_principal_entity table from MySql

All these can be done thought Javascript and a simple web service coding..

Nith

Highlighted

Jay_S_A

06-08-2009

Hi Nith,

Thanks a lot !! for the suggestion.

Can we do only with Javascript, without using webservices and MySql. And what are the workflow fields ?

Thanks for the help !!

Highlighted

_Nith_

07-08-2009

Workflow fields are the one which are mandatory in order to submit your form

to the Adobe workflow..

And Javascript is designed specifically for client side scripting ; Though

you could perform some asychronous calls, you can't achieve all with just

JS..

Or explain me your scenario clearly, i will try to help you..

Nith

Highlighted

Jay_S_A

09-08-2009

Hi Nith,

Thanks for the reply.

The requirement is, by clicking on submit by email button, in MS Outlook 'CC' address the windows/system username should display.

Thanks in Advance !!