
The Complete Guide to ASP.NET Core MVC (.NET 5) - Display Links based on Role
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary condition for links to be visible to users?
Users must be logged in and have a specific role.
Users must be logged in and have a company ID.
Users must be employees only.
Users must be admins only.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which user role is required to view the category cover tab and product dropdowns?
Manager
Guest
Admin
Employee
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What logic is used to display dropdowns for both admins and employees?
Using a while loop
Using an if condition
Using a for loop
Using a switch statement
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when an employee logs in after the changes?
They see all links.
They see only user and company management links.
They see admin links.
They see no links.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the outcome when an admin logs in after implementing the changes?
Only guest links are visible.
All links are visible.
No links are visible.
Only employee links are visible.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?