sagar_makhesana - Saturday, April 12, 2014 4:36 AM:
Hello All,
I m trying to write Add an User by AML.
AML i write is here..
<AML>
<Item type="User" action="add">
<first_name>Andy</first_name>
<login_name>andy</login_name>
<password>1234</password>
<logon_enabled>true</logon_enabled>
</Item>
</AML>
Above works perfectly. But User was not able to do login . user get error Authentication failed for User.
After updation of Same record using Innovator user was able to log in. I just had reset Properties
(1)Password
(2)Confirm Password.
So Here i just want to know that how can i define the property that are being used by Form only. ( confirm password)
while i was writing AML i could not found " Confirm Password " property in selection.
Thanks in Advance :-)
gks - Monday, April 14, 2014 2:23 AM:
Try sending the password as md5 hash, not plain text
sagar_makhesana - Monday, April 14, 2014 3:09 AM:
Hello Georg Sandritter,
Thank you for your response and hint about using "MD5"
I came to know that Aras innovator uses datatype MD5 for Password Property used in USER item Type.
MD5 is algorithm that encrypt the given value .
Now i was wondering how to use datatype of any property while i m writing AML. Means in above AML how i can send Password using MD5 ?
can you please edit below AML that sends the Password using MD5.
<AML>
<Item type="User" action="add">
<first_name>Andy</first_name>
<login_name>andy</login_name>
<password>1234</password>
<logon_enabled>true</logon_enabled>
</Item>
</AML>
Thanks In advance :-)
sagar_makhesana - Monday, April 14, 2014 7:05 AM:
Hello George,
I got the Stuff what you said. I tried the Hash value of Password instead of Plain text [ copied from Sql server]
Now it works Fine.
<AML>
<Item type="User" action="add">
<first_name>Sam</first_name>
<login_name>Sam</login_name>
<logon_enabled>1</logon_enabled>
<password>202cb962ac59075b964b07152d234b70</password>
</Item>
</AML>
Thanks for Help :-)
gks - Monday, April 14, 2014 9:58 AM:
for a quick md5 generation you could use the search engine duckduckgo.com. Search for md5 passwort and you'll get the md5 hash of the apssword additionally to the serach results