diff --git a/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs b/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs index 1cd09cd8c7..43065b1b5b 100644 --- a/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs +++ b/src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs @@ -11,6 +11,12 @@ namespace Tgstation.Server.Host.Security /// sealed class WindowsSystemIdentity : ISystemIdentity { + /// + public string Uid => (userPrincipal?.Sid ?? identity.User).ToString(); + + /// + public string Username => userPrincipal?.Name ?? identity.Name; + /// /// The for the /// @@ -52,12 +58,6 @@ namespace Tgstation.Server.Host.Security } } - /// - public string Uid => (userPrincipal?.Sid ?? identity.User).ToString(); - - /// - public string Username => userPrincipal?.Name ?? identity.Name; - /// public ISystemIdentity Clone() {