In Umbraco 4 there use to be a method to obtain all the domains for the current culture GetCurrentDomains(). I can't find an equivalent way to do this in Umbraco 7.2+ API. Before I start writing a dirty new method to do this, is there a way in existence?
Get all domains for current culture
In Umbraco 4 there use to be a method to obtain all the domains for the current culture GetCurrentDomains(). I can't find an equivalent way to do this in Umbraco 7.2+ API. Before I start writing a dirty new method to do this, is there a way in existence?
Hi Phil,
Of course there is method in Umbraco 7 for getting all domains. Try this one:
Hope it will help.
Thanks,
Alex
is working on a reply...