public string[] GetUsers() { var xml = _wrapper.GetUserList(); if (string.IsNullOrWhiteSpace(xml)) { return(new string[0]); } var userlist = XmlParseHelper.Parse <userlist>(xml); if (userlist.users == null || string.IsNullOrWhiteSpace(userlist.users.usernames)) { return(new string[0]); } return(userlist.users.usernames.Split(",")); }