WindowsPrincipal.Identityで、ID情報を取得する。
WindowsPrincipal.Identity プロパティ (System.Security.Principal) | Microsoft Docs
WindowsPrincipal_.aspxで、
とすると、
こうなる。
WindowsIdentityクラスオブジェクトか。
Sample/aspnet/WindowsPrincipal/Identity/src/WindowsPrincipal_ at master · bg1bgst333/Sample · GitHub