Return to Snippet

Revision: 12508
at March 17, 2009 20:11 by lucastex


Initial Code
//Adding Users
def userGod = new User( username:'god', 
			userRealName:'god almighty', 
			enabled: true,
			emailShow: true,
			email: '[email protected]',
			passwd: authenticateService.encodePassword('god')).save()

def userSlave = new User(username:'slave',
			 userRealName:'poor slave',
			 enabled: true,
			 emailShow: true,
			 email: '[email protected]',
			 passwd: authenticateService.encodePassword('slave')).save()

Initial URL

                                

Initial Description

                                

Initial Title
Adding Users to Bootstrap.groovy

Initial Tags
groovy

Initial Language
Groovy