When the user logs in, you could check whether the user is linked to an Admin.
If linked, the page will show the panel including the Admin ID and wallet balance,etc.
If not linked, then the role is an Admin, the page will show the panel including the link that navigates to the dashboard and other content.
You could use the Visible property to control whether to display the panel.
Best regards,
Xudong Peng
ASP.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >
Contributor
2400 Points
756 Posts
Re: Having Admin wallet display when user logs in
Jun 22, 2020 10:00 AM|XuDong Peng|LINK
Hi georgeakpan233,
When the user logs in, you could check whether the user is linked to an Admin.
If linked, the page will show the panel including the Admin ID and wallet balance,etc.
If not linked, then the role is an Admin, the page will show the panel including the link that navigates to the dashboard and other content.
You could use the Visible property to control whether to display the panel.
Best regards,
Xudong Peng