How can i get my community Base URL in apex
finally i found the answer i use
Network.getLoginUrl('Pass Community id here')
in this way i found the login page URL for the community and then break the URL and use as per my Requirement.
finally i found the answer i use
Network.getLoginUrl('Pass Community id here')
in this way i found the login page URL for the community and then break the URL and use as per my Requirement.