how could I access users profile using settings parameter in drupal behaviours? I have a behavior as follows:

Drupal.behaviors.mymodule = {
  attach: function(context, settings){
    jQuery("#edit-user-address",context).change(function(){
      console.log(" user id and other fields "+settings.user.id);


    });
  }
} 


How could it be achieved?
You should use Drupal's drupal_add_js function with the 'settings' option (more info).

Example:

global $user;
$uid = $user-&gt;uid;
drupal_add_js(array('myModule' =&gt; array('uid' =&gt; $uid)), 'setting');