I have been looking for documentation on GPConNet.dll but I have thus far been wildly unsuccessful, so hopefully someone here can help.
I am creating an add-in which exports item class information when an item class is created, updated or deleted to an XML file. This requires me to call a stored procedure that I created for the purpose of this add-in.
When I use a normal SQL account, it works fine. The issue I am having is when attempting to use the Dynamics login account's login credentials to authenticate instead of hard-coding a set of credentials into the code (before it is suggested, Windows authentication isn't what I'm after!)
Everywhere I have gone says this is possible with the `GPConnection` class from GPConNet.dll. But they all reference a set of registration keys which are passed to the `GPConnection.Init(string, string)` method.
Intellisense in Visual Studio tells me that the names of the parameters are actually `user` and `password`. So my questions are as follows:
- Is Intellisense correct, or is it supposed to still be `key1` and `key2`?
- If it's still supposed to be keys, where exactly can these be requested from?
- If it's user and password, which user and password combination is it referring to? I have tried the login account's user/password combination but this does not work.
- Perhaps most importantly - where can I find the docs??
Thanks in advance.
*This post is locked for comments
I have the same question (0)