> That's exactly what I'm looking for and I feel a bit dumb because I
> can't find in the documentation anything like "get_user_access_info" or
> something else to fetch the authentication info. Either the search
> function of the acrobat reader is really broken or it's missing.

Hmm, I don't see it in the API doc.  I pulled the logic from an earlier
script that I had to do system auditing.

Here is the XML call that I'm using:

<?xml version='1.0' encoding='UTF-8' standalone='no' ?>
      <!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>
      <OPS_envelope>
        <header>
          <version>0.9</version>
        </header>
        <body>
          <data_block>
            <dt_assoc>
              <item key='protocol'>XCP</item>
              <item key='action'>get_user_access_info</item>
              <item key='object'>domain</item>
              <item key='attributes'>
                <dt_assoc>;
                  <item key='domain_name'>example.com</item>
                </dt_assoc>
              </item>
            </dt_assoc>
          </data_block>
        </body>
      </OPS_envelope>

> I don't think it makes sense from a security standpoint anyway. If I can
> fetch the authentication information and then start a query with that I
> should be able to do so without that information beforehand. Querying
> address data should be possible without setting an authentication
> cookie, private key and IP address should be enough.

I believe all the contact information method calls were tied to the
management interface which required the profile username/password to do
anything.  This is why they added an enhancement request to add the
contact e-mail addresses to the get expiring domains method.

Reply via email to