【发布时间】:2015-11-26 23:17:24
【问题描述】:
我正在尝试连接到 Web 窗体 ASP.NET 管道并扩展 HttpContext.Current.User.Identity,以使 Name 属性返回自定义实现。
我发现in another answer 的一种可能方法是可以通过添加声明来添加新属性。我的两个问题是:
- 在 ASP.NET Web 窗体管道中的何处添加声明?还有
- 是否可以覆盖现有的
Name属性?
【问题讨论】:
标签: asp.net webforms windows-authentication claims iidentity