Skip to content

Commit a96e736

Browse files
committed
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 <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alex Brainman <[email protected]>
1 parent 854349e commit a96e736

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
On Windows, [Current] can now be used in Windows Nano Server.
2+
The implementation has been updated to avoid using functions
3+
from the `NetApi32` library, which is not available in Nano Server.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
On Windows, [Current] has been made considerably faster when
2+
the current user is joined to a slow domain, which is the
3+
usual case for many corporate users. The new implementation
4+
performance is now in the order of milliseconds, compared to
5+
the previous implementation which could take several seconds,
6+
or even minutes, to complete.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
On Windows, [Current] now returns the process owner user when
2+
the current thread is impersonating another user. Previously,
3+
it returned an error.

0 commit comments

Comments
 (0)