/ Published in: Groovy
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Adding Users userRealName:'god almighty', enabled: true, emailShow: true, email: '[email protected]', passwd: authenticateService.encodePassword('god')).save() userRealName:'poor slave', enabled: true, emailShow: true, email: '[email protected]', passwd: authenticateService.encodePassword('slave')).save()