AML New User Password

Hi, I would like to create new users with user password by AML in Batch Loader. I have done this but password in Innovator is not added/updated. <Item type="User" where="login_name='@1'" action="merge"> <login_name>@1</login_name> <password>@2</password> <logon_enabled>@3</logon_enabled> <first_name>@4</first_name> <last_name>@5</last_name> <email>@6</email> ...   and <Item type="User" where="login_name='@1'" action="add"> <login_name>@1</login_name> <password>123</password> <logon_enabled>@2</logon_enabled> <first_name>@3</first_name> <last_name>@4</last_name> <email>@5</email> ...   Best regards Klaus
Parents
  • Hi Klaus, When creating users directly through AML, the password value is expected to be the MD5 hash of the password you would like to set. If I want to set the password of a user to "innovator", I would need to pass in the hashed value which is "607920b64fe136f9ab2389e371852af2" as seen in the example AML below.
    <AML>
    <Item type='User' action='add'>
    <login_name>testuser</login_name>
    <password>607920b64fe136f9ab2389e371852af2</password>
    <first_name>Testuser</first_name>
    <last_name>Testuser</last_name>
    <email>[email protected]</email>
    <logon_enabled>1</logon_enabled>
    </Item>
    </AML>
    Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hi Klaus, When creating users directly through AML, the password value is expected to be the MD5 hash of the password you would like to set. If I want to set the password of a user to "innovator", I would need to pass in the hashed value which is "607920b64fe136f9ab2389e371852af2" as seen in the example AML below.
    <AML>
    <Item type='User' action='add'>
    <login_name>testuser</login_name>
    <password>607920b64fe136f9ab2389e371852af2</password>
    <first_name>Testuser</first_name>
    <last_name>Testuser</last_name>
    <email>[email protected]</email>
    <logon_enabled>1</logon_enabled>
    </Item>
    </AML>
    Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data