title: saspy - establishing iomcom connection
body: <p>I am trying to setup a connection to remote SAS server using IOMCOM. I've configured sascfg_personal.py file with iomhost iomport class_id and encoding.
  Then when I import saspy and try to run this code:</p>
  <pre><code>saspy.SASsession(results=&quot;TEXT&quot;)
  </code></pre>
  <p>Next it asks me for username and password which I enter. After that and <em><strong>com_error: -2147352567</strong></em> is thrown. Inside it there is a SASMessage which reads:</p>
  <pre><code>&lt;SASMessage severity=&quot;Error&quot;&gt;Unknown username.&lt;/SASMessage&gt;
  </code></pre>
  <p>This suggested me that my configuration is correct. I am also using SAS EG so I looked up declared automatic system variables. I've tried typing in values of <em><strong>_CLIENTUSERID, CLIENTUSERNAME or _METAUSER</strong></em> variables and none of them worked.
  Where I can find my actual username? Or maybe this error is caused by something else?</p>