I am developing an application with masterPage.
I want to put loginStatus, LoginName controls into masterPage.
now, I want these loginStatus and LoginName controls be visible only if the user is admin.
(admin will exclusively navigate to login page and no Login/logout link, logged in username should be shown for non-admins)
how can I achieve this?
There is a LoginView, which supports roles: