how to create an administrator ?

hi evryone,
Someone can explain me how to create an administrator for my workflow's application in Bonita please !

AddUserMembership/ ProfileMemberCreator.setGroupId/.setRoleId Problem

I have a problem with setting UserMembership on a "Blank" User, created on Anonymous User, with his Form Inputs.
The user and his profile is created, but not his Usermembership on his UserDetails in Portal Bonita.
This is the Groovy code: