asp.net - Determine if user can access the requested page? -


I have an ASP.NET website with many roles, each using a different directory (i.e. admin user / admin By using a shared log in page, buyers can access / shop etc.) If a login page goes to the return URL set on an username in which they do not have access (for example A Shopper Visits / Lodge Mr. Espx). Producer successfully (login credentials are valid), but they come back to the login page (they do not have access to the page they request).

How do I raise it, so can I display a message to the user?

  URL Authorization Module Check URLFranist ()  

is that you need to use the user to use for a location (page or folder) ()


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -