raviraj - Wednesday, May 4, 2011 3:27 AM:
Hello All
Actually i m adding User using AML, i get the Error "No items of type User found."
the Written AML is
<AML><Item type="User" id="A8C2222132AE42ECA3DD20E3F4A0B780" action="add">
<logon_enabled>1</logon_enabled>
<last_login_date>2011-04-25T14:54:55</last_login_date>
<created_on>2011-03-25T15:52:15</created_on>
<config_id>A8C2222132AE42ECA3DD20E3F4A0B780</config_id>
<is_current>1</is_current>
<major_rev>A</major_rev>
<permission_id>7453DCFF49994575A9939BEAA8F4A14A</permission_id>
<generation>1</generation>
<email>[email protected]</email>
<first_name>ABC</first_name>
<modified_on>2011-04-25T15:12:12</modified_on>
<working_directory>C:Documents and SettingsAdminDesktop</working_directory>
<not_lockable>0</not_lockable>
<keyed_name>Artist1</keyed_name>
<is_released>0</is_released>
<default_vault>67BBB9204FE84A8981ED8313049BA06C</default_vault>
<classification>/*</classification>
<created_by_id>30B991F927274FA3829655F50C99472E</created_by_id>
<modified_by_id>193EC837DF5C47D5BB6FE0E3BA77ECE8</modified_by_id>
<login_name>abc</login_name>
<pwd_is_set_on>2011-03-24T19:40:12</pwd_is_set_on>
<new_version>0</new_version>
</Item>
</AML>
Please Help.....
Ronan - Wednesday, May 4, 2011 9:48 AM:
Lots of administrative stuff you define in your Item declaration should be left to Innovator (like id, config_id, created_by_id, etc...). Just define what you need to define:
<AML>
<Item type="User" action="add">
<logon_enabled>1</logon_enabled>
<email>[email protected]</email>
<first_name>ABC</first_name>
<working_directory>C:Documents and SettingsAdminDesktop</working_directory>
<keyed_name>Artist1</keyed_name>
<login_name>abc</login_name>
</Item>
</AML>
raviraj - Wednesday, May 4, 2011 10:44 AM:
Thank you Ronan.. Now its Work