How to use the SDK to create users remotly

Hi

I am trying to create a user form a Desktop Application using the SDK.

I am able to login using the amAdmin account and getting a valid SSOToken

I use the SSOToken to create a AMStoreConnection Object which I then use to get an AMPeopleContainer object on the root orgnization, but when I call the method CreateUser I get the following error message

Unable to create entity

currently I have no idea why this error is being returned, any ideas anyone

thanks

[503 byte] By [SomeOne0001a] at [2007-11-26 20:59:03]
# 1
Just to add, there is no returned LDAPException and the error code is 324
SomeOne0001a at 2007-7-10 2:29:10 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
Check the LDAP access logs. Make sure that you add values for all the required user attributes defined in the amUser.xml file.
Aaron_Andersona at 2007-7-10 2:29:10 > top of Java-index,Web & Directory Servers,Directory Servers...