/    Sign up×
Community /Pin to ProfileBookmark

server domain username

How do I retrieve the domain’s username with which I am currently logged onto.
I am executing some HTML, and wish to retrieve the user’s current server login-name.
Any ideas would be appreciated ?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliNov 04.2003 — ???

you want to get your own user name???

or some one else's

if for some one else's

then thats illegal if yours,then it would make sense that you knew your own login
Copy linkTweet thisAlerts:
@mspoonerauthorNov 04.2003 — I want to retrieve the [U]current[/U] user's name.

I'm sorry but smart answers like "it would make sense that you knew your own login" don't help.

.

I have a generic Html file, which will start up some software on a server. I wish to pass the username of the current user into the application. ANY user could be running the Html.

So thanks (but no thanks). If that's the best advice you can offer, than please don't bother answering anymore of mine.

:mad:
×

Success!

Help @mspooner spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...