Rearrange properties to be standards compliant

This commit is contained in:
Cyberboss
2018-09-27 14:30:58 -04:00
parent 6425f6cd3b
commit 467f9bf5b9
@@ -11,6 +11,12 @@ namespace Tgstation.Server.Host.Security
/// </summary>
sealed class WindowsSystemIdentity : ISystemIdentity
{
/// <inheritdoc />
public string Uid => (userPrincipal?.Sid ?? identity.User).ToString();
/// <inheritdoc />
public string Username => userPrincipal?.Name ?? identity.Name;
/// <summary>
/// The <see cref="WindowsIdentity"/> for the <see cref="WindowsSystemIdentity"/>
/// </summary>
@@ -52,12 +58,6 @@ namespace Tgstation.Server.Host.Security
}
}
/// <inheritdoc />
public string Uid => (userPrincipal?.Sid ?? identity.User).ToString();
/// <inheritdoc />
public string Username => userPrincipal?.Name ?? identity.Name;
/// <inheritdoc />
public ISystemIdentity Clone()
{