How would I obtain the logged on user SID in an elevated .NET application?
I have tried WindowsIdentity.GetCurrent()
which of course returns the administrator that elevated the process. From what I can see I may need to use native methods to do this, could anyone provide a more elegant way?