roles are not saving in idm6.0

hi everybody,

in my create user workflow i am getting the all the details from a form and then creating a view and then setting the idm atributes with the form values and then provisioning .

my problem is i could not able to set the role in idm.

my code is :

<set name='user.waveset.roles'>

<ref>roles</ref>

</set>

where roles is the form field value .

the allowed values of the field are contractor,manager,employee.

i select one role in the form and while setting the idm attributes i am assigning the role to the user.waveset.roles.

but when i checked in the idm interface all the fields like accountid ,firstname,lastname,email and password are set but in the assignment section Role is not assigned .

please can anybody tell me where i am wrong .

thanks a lot if anyone can solve this problem

[902 byte] By [xyz_idma] at [2007-11-27 6:58:22]
# 1
Try setting the value to 'user.waveset.role' as well in addition to 'user.wavest.roles'.Let me know whether it works.
harrywkla at 2007-7-12 18:49:00 > top of Java-index,Web & Directory Servers,Directory Servers...