1 Reply Latest reply on May 11, 2018 9:14 PM by hind

    logged in username and password - golmine

    Apprentice

      Hi,

       

      I am executing GMW_LoadBDE for .net application integrated with Goldmine. But I would like to pass password and username from whoever is logged in.

       

      this is my command: result = Goldmine.GMW_LoadBDE(@"C:\program files (x86)\goldmine\", "GoldMine: [ANSI]", "GoldMine: [ANSI]", "master", "access");

       

      As you can see, I am hardcoding username and password as master, access. How can I get the current logged in password and username? . I don't wanna hard code username and password? also I need the logged in username and password for another functionality.

       

      I appreciate your help

        • 1. Re: logged in username and password - golmine
          Apprentice

          I am trying to execute this command in C sharp but it is not working.

           

          long result;

                      string sLoginCredentials = string.Empty;

           

           

                      result = Goldmine.GMW_LoadBDE(@"C:\program files (x86)\goldmine\", "GoldMine: [ANSI]", "GoldMine: [ANSI]", "*DDE_LOGIN_CREDENTIALS*", sLoginCredentials);