Rank: Member
Groups: Approved
Joined: 8/25/2019(UTC) Posts: 20 Was thanked: 1 time(s) in 1 post(s)
|
I want to konw how to get the current login account name.? Thanks!
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
You can't obtain the current login username or password, for security purposes.
|
|
|
|
Rank: Member
Groups: Approved
Joined: 8/25/2019(UTC) Posts: 20 Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
Rank: Member
Groups: Approved
Joined: 9/25/2019(UTC) Posts: 10 Thanks: 1 times
|
If you mean the Windows user name then this works for me: sp.MessageBox(clr.System.Security.Principal.WindowsIdentity.GetCurrent().Name, 'name'); Edited by user Wednesday, September 25, 2019 1:07:49 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
Huh, I had assumed he was referring to the login for the account signed in via S+, the forum account from logging in via the tray icon.
Reading the post again, he doesn't mention anything that specifically states that...oops!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close