Activity Forums Salesforce® Discussions How to retreive domain name from salesforce org

  • How to retreive domain name from salesforce org

    Posted by Deepak on August 14, 2019 at 7:17 am

    Select id,Domain from domain , this query does not return any records. I am trying to retrieve domain name in my salesforce org so that i can append it to that to any new user's username in salesforce at the time of creation.

    Nikita replied 5 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Nikita

    Member
    August 14, 2019 at 7:41 am

    Hi Deepak,

    if you write a query select id, Domain from domain in the query editor, you will get the Id and Name of Your Domain.

     

    • This reply was modified 5 years, 3 months ago by  Nikita.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos