📜  asp.net c# 中的身份验证和授权示例 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:05.086000             🧑  作者: Mango

代码示例1
Response.Write(User.Identity.Name +"
"); Response.Write(User.Identity.AuthenticationType + "
"); Response.Write(User.Identity.IsAuthenticated + "
"); Response.Write(User.IsInRole("Administrators") + "
");