public override string[] FindUsersInRole(string roleName, string usernameToMatch) { if (!RoleExists(roleName)) throw new ProviderException("Specified role not found"); var logins = new SecurityRepository().GetLoginsAssignedToRole(roleName); if (!string.IsNullOrEmpty(usernameToMatch)) logins = logins.Where(v => v.Contains(usernameToMatch)); return logins.OrderBy(v => v).ToArray(); }