Я знаю, что могу выдать себя за учетную запись Windows, используя: http://msdn.microsoft.com/en-us/library/chf6fbt4.aspx
Но как мне выдать себя за учетную запись WellKnownSidType
?
SecurityIdentifier sid = new SecurityIdentifier(WellKnownSidType.LocalSystemSid, null);
NTAccount account = sid.Translate(typeof(NTAccount)) as NTAccount;
if (account != null)
{
//Impersonate here???
}