mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 00:50:45 +01:00
Rearrange properties to be standards compliant
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user