public void SetAccountData(AccountData[] accountData) { userNameMapping.Clear(); IEnumerator e = accountData.GetEnumerator(); while (e.MoveNext()) { AccountData account = (AccountData)e.Current; userNameMapping.Add(account.id, account.name); if (account.name == cs.Username) { this.myAccountID = account.id; } } ListIssues(); }