ASP.NET Forms Authentication. The LogonName and
LogonPassword properties are related to authentication methods
built into HTTP. Methods like Basic (forms) Authentication and
Windows Integrated Authentication.
Something like ASP.NET forms based authentication requires a
different kind of method because it is under your programmatic
control. Because it is under your programmatic control - ABCpdf
cannot authenticate itself. Because Authentication is under your
programmatic control - you have to Authenticate ABCpdf.
You will need to allow ABCpdf to pass in a user name and
password to your page (probably in encoded form via the URL) and
then have that page call the FormsAuthentication.Authenticate code
using that username and password.
Some of our clients have encoded this information via a time
expiring certificate or token to add extra security to the
As an alternative you can obtain the HTML of the current page
using the HttpResponse.Filter property or by overriding the Render
method of the page. You can then present this HTML to ABCpdf using
AddImageHtml. If your HTML references resources using relative
references you may wish to insert a <BASE> tag into the HTML
before presentation to ABCpdf. Of course any resources you
reference would need to be available outside your Authentication