Câu 62: 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 LibraryAdmin. You have the following requirements: ✑ You must allow all users to access the GetBook method. ✑ You must restrict access to the EditBook method to the user named LibraryAdmin. You need t…
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 LibraryAdmin. You have the following requirements: ✑ You must allow all users to access the GetBook method. ✑ You must restrict access to the EditBook method to the user named LibraryAdmin. You need to implement the controller to meet the requirements. Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)
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. Option A — đáp án hiện tại
- B. Option B
- C. Option C — đáp án hiện tại
- D. Option D
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.