I really have not tried this, I am just curious what are the attributes that can be set with createAccount with AccountManager:
createAccount(String username, String password, Map<String,String> attributes)
Can I put any String key and value, or there is a defined standard for this?
The attributes are obtained by calling
Check the javadoc for the createAccount() method that you mentioned. At the bottom.