How can I enable user account at the time of creation using JAVA Webscript?
var testUser = people.createPerson("spm", "Joe", "User", "email@example.com", "spm", true, true);
the second last argument refers to the setAccountEnabled param but in java we need to create Map instead of passing the value in params like
Also, did you know that the Share admin console includes a CSV import? If you can find that implementation in the source it might have some helpful tidbits.
By the way, you can always create a QName if you know the namespace and the property name. If you knew the property you wanted is "enabled" and the namespace is Alfresco's User namespace, you could create the QName like: