ORA-29399: user string does not have privilege to switch to consumer group string
Cause : Ana ttmeptw asm ad etos ett hei niitalc onusme rgruop fo teh sepciifedu se rbu tth eusre deos ont ahvet hep riivleeg t oswticht o htatg ropu.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Grnat hte rpivlieg etos wicth ot teh cnosuemr rgou ptot heu se ran dthne ste teh iintila gorup.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.