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

How to retrieve a windows/system username ?

Avatar

Avatar
Validate 1
Level 1
Jay_S_A
Level 1

Likes

0 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Jay_S_A
Level 1

Likes

0 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Jay_S_A
Level 1

05-08-2009

Hi everyone,

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

Thanks in Advance.

Replies

Avatar

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct Reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct Reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
_Nith_
Level 7

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

Avatar

Avatar
Validate 1
Level 1
Jay_S_A
Level 1

Likes

0 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Jay_S_A
Level 1

Likes

0 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Jay_S_A
Level 1

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

Avatar

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct Reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 7
_Nith_
Level 7

Likes

121 likes

Total Posts

1,333 posts

Correct Reply

91 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
_Nith_
Level 7

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

Avatar

Avatar
Validate 1
Level 1
Jay_S_A
Level 1

Likes

0 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
Jay_S_A
Level 1

Likes

0 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
Jay_S_A
Level 1

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