@wld
It doesn’t matter how you call it. You need to filter the query which you check in the login form using the ternary operator.
The steps in your server action should be:
Database connection
Security provider
Security login
User details query … > this you filter by the identity returned by the login step!
@wld
You can do whatever is easier for you … in your case you can just use the login action to provide logged user details. Just see the steps above and follow the logic.
I believe it’s pretty well explained step-by-step in the documentation what and how needs to be filtered in the server action:
Yes, the explanation is there and I just didn’t add the filter to the my User Table in the correct action. Thanks for putting up with my stupidity on this one. It does work correctly now that I have made the changes. I do have one other question. In dealing with restricted pages, it mentions these can only be done in php and asp pages and not html ones. How do I set up a restricted page using asp.net?