Skip to content

Instantly share code, notes, and snippets.

@kastork
kastork / AddLiferayUsers.groovy
Last active December 14, 2015 23:09
Liferay Batch user addition using Groovy and the Liferay JSON-WS API
// We assume that the input file 'users.csv' is a three field
// comma separated list of users
// John Q. User, [email protected], password_ofjohn
//
// Password can be empty, but the csv still needs a field there
//
// John Q. User, [email protected],
// (note the trailing comma)
//
// The name field must have at least two tokens. If there are three or more