Search Engine: Elastic

Article ID: 119248, created on Dec 20, 2013, last review on May 3, 2014

  • Applies to:
  • Operations Automation 5.5
  • Operations Automation 5.4

Symptoms

When creating a service user through the CP, an error is thrown:

Error User with login '<LOGIN>' already exists. 

Cause

Most likely, there is a leftover user in POA that was not removed due to tasks being canceled.

Resolution

To remove the service user, do the following:

Use the method pem.getUserByLogin:

    <?xml version='1.0'?>
    <methodCall>
      <methodName>pem.getUserByLogin</methodName>
      <params>
        <param>
          <value>
            <struct>
              <member>
                <name>login</name>
                <value><string><LOGIN></string></value>
              </member>
            </struct>
          </value>
        </param>
      </params>
    </methodCall>

To acquire the user_id, use the method pem.removeUser with user_id from the method pem.getUserByLogin:

<?xml version='1.0'?>
<methodCall>
  <methodName>pem.removeUser</methodName>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>user_id</name>
            <value><i4><user_id></i4></value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodCall>

For the mailbox, please see the KB #118211.

5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e ac82ce33439a9c1feec4ff4f2f638899 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF