As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
ScriptNode createPerson(String username) Create a Person (cm:person) with the given user name. Returns the person node created or null if the user name already exists.
var user = people.createPerson("jfoo");With this code, a user with "jfoo" as username is displayed, even though the other attributes are not set.
user.save();