[英]Angular 4 + MVC Identity Roles
I try to get the role from the user logged from HomeController with ADFS integration, but I´m using .html pages not .cshtml and I need use the claims and the user role in this component pages. 我尝试从具有ADFS集成的HomeController中记录的用户中获取角色,但是我使用的是.html页面而不是.cshtml,因此我需要在此组件页面中使用声明和用户角色。
How is the best way to share the current user with angular components? 如何通过角度分量与当前用户共享的最佳方法是什么?
Any ideas? 有任何想法吗?
Thanks in advance. 提前致谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.