Setting an attribute permanantly for a user

Hi ,

Here goes my scenario.

I need to set an custom attribute on a user account permanantly.The value of that attribute can be changed but that attribute should be present as long as the user account(not session) is alive. I found this accountmanager class. But irrespective of what i set, i get only the defined 5 attributes and myattribute is not reflected.

I also found this class Registration. I added that attribute and sent the packet.

while receving for the first time i get this

error along with the set attribute.

Second time around i’m getting the default values (ie username,password etc etc) without my attribute.

I’m i doing anything wrong?

–Mari