From a96e73628402431bbd1d79c926e17a4895db2b7e Mon Sep 17 00:00:00 2001
From: qmuntal <quimmuntal@gmail.com>
Date: Fri, 9 Aug 2024 10:28:52 +0200
Subject: [PATCH] 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>
---
 doc/next/6-stdlib/99-minor/os/user/21867.md | 3 +++
 doc/next/6-stdlib/99-minor/os/user/68312.md | 6 ++++++
 doc/next/6-stdlib/99-minor/os/user/68647.md | 3 +++
 3 files changed, 12 insertions(+)
 create mode 100644 doc/next/6-stdlib/99-minor/os/user/21867.md
 create mode 100644 doc/next/6-stdlib/99-minor/os/user/68312.md
 create mode 100644 doc/next/6-stdlib/99-minor/os/user/68647.md

diff --git a/doc/next/6-stdlib/99-minor/os/user/21867.md b/doc/next/6-stdlib/99-minor/os/user/21867.md
new file mode 100644
index 00000000000..2fc3d2d60cd
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/os/user/21867.md
@@ -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.
diff --git a/doc/next/6-stdlib/99-minor/os/user/68312.md b/doc/next/6-stdlib/99-minor/os/user/68312.md
new file mode 100644
index 00000000000..b5d44c7bf64
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/os/user/68312.md
@@ -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.
diff --git a/doc/next/6-stdlib/99-minor/os/user/68647.md b/doc/next/6-stdlib/99-minor/os/user/68647.md
new file mode 100644
index 00000000000..f31047c1ac8
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/os/user/68647.md
@@ -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.
-- 
GitLab