Mitch Capper wrote:
> For requests to get the actual username I don't know if it is better to:
> 1) Try the official API GetUserName but it requires an additional windows
> library if it is not already included (which most of the time it is not)
> https://learn.microsoft.com/en-us/windows/win32/api
> The current state is an attempt to make code compile if it doesn't use
> or . I don't know whether this state can be significantly
> improved. But if you have reasonable suggestions, please show them!
For requests to get the actual username I don't know if it is better to:
1) Try the official A
Mitch Capper wrote:
> *Windows Security / Permissions*
> The no-op permissions/getuser/group branch is poor. Windows permissions are
> not considered at all, and all permission calls just silently succeed. Any
> user calls return the current user and group calls return a generic string.
> In addit