mirror of
https://github.com/golang/go
synced 2024-11-21 22:14:41 -07:00
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: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
This commit is contained in:
parent
854349eeb4
commit
a96e736284
3
doc/next/6-stdlib/99-minor/os/user/21867.md
Normal file
3
doc/next/6-stdlib/99-minor/os/user/21867.md
Normal file
@ -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
doc/next/6-stdlib/99-minor/os/user/68312.md
Normal file
6
doc/next/6-stdlib/99-minor/os/user/68312.md
Normal file
@ -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
doc/next/6-stdlib/99-minor/os/user/68647.md
Normal file
3
doc/next/6-stdlib/99-minor/os/user/68647.md
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user