Update src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs

Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com>
This commit is contained in:
Zephyr
2024-08-18 23:50:05 -04:00
committed by GitHub
co-authored by Jordan Dominion
parent 3d231cfcef
commit a15d5f27c8
@@ -25,7 +25,7 @@ namespace Tgstation.Server.Host.Security
public bool CanCreateSymlinks => IsSuperUser;
/// <inheritdoc />
public bool IsSuperUser => IsSuperUser;
public bool IsSuperUser => isAdmin ?? throw new NotSupportedException();
/// <summary>
/// The <see cref="WindowsIdentity"/> for the <see cref="WindowsSystemIdentity"/>.