tgstation-server  4.3.2
The /tg/station 13 server suite
ISystemIdentity.cs
Go to the documentation of this file.
1 using System;
2 using System.Threading;
3 using System.Threading.Tasks;
4 
5 namespace Tgstation.Server.Host.Security
6 {
10  public interface ISystemIdentity : IDisposable
11  {
15  string Uid { get; }
16 
20  string Username { get; }
21 
25  bool CanCreateSymlinks { get; }
26 
31  ISystemIdentity Clone();
32 
39  Task RunImpersonated(Action action, CancellationToken cancellationToken);
40  }
41 }
Represents a user on the current global::System.Runtime.InteropServices.OSPlatform ...