试题详情
- 多项选择题You are implementing an ASP.NET MVC 2 Web application that allows users to view and edit data. You need to ensure that only logged-in users can access the Edit action of the controller. What are two possible attributes that you can add to the Edit action to achieve this goal? ()
A、[Authorize(Users = "")]
B、[Authorize(Roles = "")]
C、[Authorize(Users = "*")]
D、[Authorize(Roles = "*")]
- A,B
关注下方微信公众号,在线模考后查看
热门试题