ASP.NET Check if User Has Access Pass With Qlik Proxy Service
I have an ASP.NET application that authenticates and redirects a user to a mashup. However, I need to check and see if the user has an access pass and is authorized to see that resource before I redirect them to the mashup. They will see this error if they are redirected and do not have proper authorization:
The Qlik Sense Proxy Service returns a qlikTicket whether or not the UserId or UserDirectory actually exist in the active directory. So, it would be nice to catch any unauthenticated users in the web application before they wait 5-10 seconds to be redirected only to see an error.
Re: ASP.NET Check if User Has Access Pass With Qlik Proxy Service
Quick Update: I found a way using header authentication and the QRS to check if a user exists in Qlik Sense. Still not checking if the user has an access pass, but it is one step closer. I am using Postman to check the results of these requests.
The username in the URL does not need the domain. The username in the header should be a user that is allowed to access the QRS. The username in the URL parameter should be the user you want to check if exists. Assuming the admin user specified in the header has access to the QRS and the user you are check in the URL parameter exists, you will be returned, simply: