Câu 69: 70-486: MCSD Developing ASP.NET MVC 4 Web Applications
You are developing an ASP. NET MVC application that uses forms authentication. The user database contains a user named OrderAdmin. You have the following requirements: ✑ You must allow all users to access the GetOrders method. ✑ You must restrict access to the EditOrder method to the user named OrderAdmin. You need to…
Nội dung câu hỏi
You are developing an ASP. NET MVC application that uses forms authentication. The user database contains a user named OrderAdmin. You have the following requirements: ✑ You must allow all users to access the GetOrders method. ✑ You must restrict access to the EditOrder method to the user named OrderAdmin. You need to implement the controller to meet the requirements. Which two code segments can you use?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
-
A. Lựa chọn A bằng hình ảnh
-
B. Lựa chọn B bằng hình ảnh — đáp án hiện tại
-
C. Lựa chọn C bằng hình ảnh
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.