2 using System.Threading;
3 using System.Threading.Tasks;
34 Task
RunImpersonated(Action action, CancellationToken cancellationToken);
Represents a user on the current global::System.Runtime.InteropServices.OSPlatform
Task RunImpersonated(Action action, CancellationToken cancellationToken)
Runs a given action in the context of the ISystemIdentity
string Username
The user's name
ISystemIdentity Clone()
Clone the ISystemIdentity creating another copy that must have IDisposable.Dispose called on it
string Uid
A unique identifier for the user