When I run application on IIS from Visual Studio 2019, it works normally.
I\'m using Windows Authentication and AD groups. If i use @User.Identity.Name
@User.Identity.Name