using System;using System.Security.Principal;class MainClass{ public static void Main (string[] args) { WindowsIdentity identity = WindowsIdentity.GetCurrent(); }}