Skip to content

Commit

Permalink
os/user: document Current improvements
Browse files Browse the repository at this point in the history
Update #21867.
Update #68312.
Update #68647.

Change-Id: Ic41d6747c5a54ba28c1292258aa4d318ccb9fe40
Reviewed-on: https://go-review.googlesource.com/c/go/+/604395
Reviewed-by: Cherry Mui <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Alex Brainman <[email protected]>
  • Loading branch information
qmuntal committed Aug 21, 2024
1 parent 854349e commit a96e736
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/next/6-stdlib/99-minor/os/user/21867.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
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.
6 changes: 6 additions & 0 deletions doc/next/6-stdlib/99-minor/os/user/68312.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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.
3 changes: 3 additions & 0 deletions doc/next/6-stdlib/99-minor/os/user/68647.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
On Windows, [Current] now returns the process owner user when
the current thread is impersonating another user. Previously,
it returned an error.

0 comments on commit a96e736

Please sign in to comment.