Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1130 posts 3088 karma points
    Sep 23, 2015 @ 10:21
    Lee
    0

    ApplicationContext Services Domain.GetDomains() Equivalant

    To get the domains for an application I use

    Domain.GetDomains()
    

    Is there now a new way to do this in the new services? Or do we still use this same method?

  • Lee 1130 posts 3088 karma points
    Sep 30, 2015 @ 19:18
    Lee
    101

    In case anyone is interested, in v7.3 there is now

    var domainService = ApplicationContext.Current.Services.DomainService;
    var domains = domainService.GetAll(true).ToList();
    
Please Sign in or register to post replies

Write your reply to:

Draft