Use NTNAME instead of USERID and do not require password (it's been already validated by Windows). In a server environment, you should disable Anonymous access to your Web site, in order to implement this function.
I want to secure the QV file with respect to the NTNAME. What i mean here is when i am integrating my .qvw files into clients application, that time when any user is trying to log in to the application, the QV file should open only the relevant data with respect to the corresponding user login without asking him the userid and password again as the section acess in QV asks to enter.
Is this possible?
Yes i have tried with NTNAME as you said, my code is as below.
But now when am trying to open still the same is asking to enter userid, even if am SONATA\MAHASWETA.D as userid its not accepting ,its only accepting the adminuser id . one more thing i can update you already i logged in to my pc with my NTNAME as SONATA\MAHASWETA.D. So will that be the reason, then in that case its should not ask the userid again right?
For NT security do i need to delpoy my qvw files to the server or to any application, or can test the same feature in QV desktop client also in the developer window.
Am not exactly sure ,but i want to implement this ,its very urgent for me.