user = si_GetUser(passwordRealm, pickFirstUser, NS_ConvertToString(USERNAMEFIELD));
user = si_GetUser(dialog, passwordRealm, pickFirstUser, NS_ConvertToString(USERNAMEFIELD));
si_RestoreOldSignonDataFromBrowser    (const char* passwordRealm, PRBool pickFirstUser, nsString& username, nsString& password) {  si_SignonUserStruct* user;  si_SignonDataStruct* data;  /* get the data from previous time this URL was visited */  si_lock_signon_list();  if (username.Length() != 0) {    user = si_GetSpecificUser(passwordRealm, username, NS_ConvertToString(USERNAMEFIELD));  } else {    user = si_GetUser(passwordRealm, pickFirstUser, NS_ConvertToString(USERNAMEFIELD));  }  if (!user) {    /* leave original username and password from caller unchanged */    /* username = 0; */    /* *password = 0; */    si_unlock_signon_list();    return;  }  /* restore the data from previous time this URL was visited */  PRInt32 dataCount = LIST_COUNT(user->signonData_list);  for (PRInt32 i=0; i<dataCount; i++) {    data = NS_STATIC_CAST(si_SignonDataStruct*, user->signonData_list->ElementAt(i));    nsAutoString decrypted;    if (NS_SUCCEEDED(si_Decrypt(data->value, decrypted))) {      if(data->name.EqualsWithConversion(USERNAMEFIELD)) {        username = decrypted;      } else if(data->name.EqualsWithConversion(PASSWORDFIELD)) {        password = decrypted;      }    }  }  si_unlock_signon_list();}