- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-16-2022 05:07 PM
Random question.....do we have to use autoit for custom connectors or is it possible to use a different language such as C#?
04-17-2022 07:56 AM
Developing a custom connector in a different programming language should be possible. The tricky bit will be getting the connection-specific values (like the username/password/address of the account that the user connected with, and other properties) into your target application. For AutoIt, CyberArk provides a sample script which embeds a helper DLL that loads those values for you, so you can easily use them as variables in your AutoIt script. When you code a custom connector in C#, you could set up the PSM connection component so that PSM calls the app like this (from the commandline: "CustomCsharpConnector.exe -u {username} -p {password} -a {address}") and then develop your connector to parse the commandline flags into variables.
04-17-2022 07:56 AM
Developing a custom connector in a different programming language should be possible. The tricky bit will be getting the connection-specific values (like the username/password/address of the account that the user connected with, and other properties) into your target application. For AutoIt, CyberArk provides a sample script which embeds a helper DLL that loads those values for you, so you can easily use them as variables in your AutoIt script. When you code a custom connector in C#, you could set up the PSM connection component so that PSM calls the app like this (from the commandline: "CustomCsharpConnector.exe -u {username} -p {password} -a {address}") and then develop your connector to parse the commandline flags into variables.
04-17-2022 02:25 PM
Thanks Bernhard. It could come in useful in certain situations where more complex logic is required. Happy easter
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

