Hi ,In our LAPI .NET application, we have created a Login screen that requires the livelink username and password for accessing the .NET application. Our URL for this is
http://localhost/CMS2Eng/default.aspx .Assume
http://localhost/CMS2Eng/Pages/Display.aspx?FolderId=14960&DocSource=1 is a URL of another page in the application. If the user directly tries to access this page he is then redirected to the login page for enering his credentials (just like a request handler thats inherited from LLREQUESTHANDLER in the Builder)--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------The user name and password are sent using the function call:Login(txtUserName.Text.Trim, txtPassword.Text.Trim, errStatus)The definition is: Public Function Login(ByVal UserName As String, ByVal Password As String, ByRef errStatus As Integer) As IntegerollSession_LAPI97 = New LLSession(LiveLink_Server, LiveLink_Port, LiveLink_Database, UserName, Password)docInfo = New LAPI_DOCUMENTS(ollSession_LAPI97)userInfo_LAPI97 = New LAPI_USERS(ollSession_LAPI97)entInfo = New LLValue().setAssocNotSet()errStatus = docInfo.AccessEnterpriseWS(entInfo)If (errStatus <> 0) Then//we display error message hereElse//we redirect the user to the designated pageEnd IfEnd Function--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Our current requirement is to make this process as a windows authentication. i.e; Once the user enters his windows user name and password at the windows login screen and now if he tries to access
http://localhost/CMS2Eng/Pages/Display.aspx?FolderId=14960&DocSource=1 then he should be allowed into the page without being redirected to the login page.Can you please let me know how should i bypass the login screen and achieve the windows authentication requirement?Any suggestion is greatly appreciated.Thanks