Skip to content
Snippets Groups Projects
Commit a96e7362 authored by qmuntal's avatar qmuntal Committed by Quim Muntal
Browse files

os/user: document Current improvements

Update #21867.
Update #68312.
Update #68647.

Change-Id: Ic41d6747c5a54ba28c1292258aa4d318ccb9fe40
Reviewed-on: https://go-review.googlesource.com/c/go/+/604395


Reviewed-by: default avatarCherry Mui <cherryyz@google.com>
Reviewed-by: default avatarDmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: default avatarAlex Brainman <alex.brainman@gmail.com>
parent 854349ee
No related branches found
No related tags found
No related merge requests found
On Windows, [Current] can now be used in Windows Nano Server.
The implementation has been updated to avoid using functions
from the `NetApi32` library, which is not available in Nano Server.
On Windows, [Current] has been made considerably faster when
the current user is joined to a slow domain, which is the
usual case for many corporate users. The new implementation
performance is now in the order of milliseconds, compared to
the previous implementation which could take several seconds,
or even minutes, to complete.
On Windows, [Current] now returns the process owner user when
the current thread is impersonating another user. Previously,
it returned an error.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment