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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to retrieve a windows/system username ?

Jay_S_A
Level 3
Level 3

Hi everyone,

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

Thanks in Advance.

4 Replies
_Nith_
Level 10
Level 10

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

Jay_S_A
Level 3
Level 3

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 !!

_Nith_
Level 10
Level 10

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

Jay_S_A
Level 3
Level 3

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 !!