IsUserAnAdmin

[DllImport("shell32.dll")]
public static extern bool IsUserAnAdmin(
   
);

Microsoft documentation: Linkarrow-up-right

Last updated