If you add the "includeDisabled: true" property to the AccountServiceModel, it will also list the disabled accounts.
However, I'm not sure that this would help you a lot, because we don't have an API for applications to say "enable this account", but just "give me a compatible account".
If you add the "includeDisabled: true" property to the AccountServiceM odel, it will also list the disabled accounts.
However, I'm not sure that this would help you a lot, because we don't have an API for applications to say "enable this account", but just "give me a compatible account".
This is by design, see https:/ /wiki.ubuntu. com/OnlineAccou nts#App_ access ("An app should have no idea whether you have any accounts of a particular type stored in Online Accounts").
So, I'm afraid that unless we change the design, I can't add such an API.