PSM Custom Connection Components: Supported List of properties we can use in AutoIT scripts

PSM Custom Connection Components: Supported List of properties we can use in AutoIT scripts

181
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:59 PM


Question


Some customers have requirements of using some account properties in PSM connection component via command line or AutoIT script. What are the supported properties we can use of account when we want to use it in our PSM Custom Connection Component, AutoIT Scripts?
 
*Example:
Customer whish to retrieve the PVWA login user and use it in their AutoIT script.


Environment


9.10;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Customized Component;PSM;Privileged Session Management (PSM)

Answer


Note:
Some of the properties may not be relevant to all connection components/accounts.
 
The full supported list account properties are as follows:
 
Address
Devicetype
PolicyiD
Username
Password
LogonAccount_Address
LogonAccount_DeviceType
LogonAccount_Password
LogonAccount_PolicyID
LogonAccount_UserName
LogonAccount_LogonDomain
ExtraPass1Folder
ExtraPass1Name
ExtraPass1Safe
AccessReason
ClientUserName
ClientUserDomainName
PSMSourceAddress
SelectedConnCompID
AutoLogonSequenceWithLogonAccount
EnableXForwarding
PSMClientApp
PSMComponentsFolder
PSMComponentsLogFolder
PSMSessionUUID
PSMSessionStartTime
PSMRemoteMachine
LogonDomain
AllowMappingLocalDrives
AllowConnectToConsole
WaitBeforeCmdlineParmsHide
CmdLineParmsHideTimeout
SourceFileTemplate
Port

 
 
 
Sample codes
 
Use {ClientUserDomainName} and {ClientUserName} in the PSM Connection Components configuration to obtain the domain name and username used to log in to PVWA.
 
E.g., for the vCenter scenario, here's how the clientApp is defined:
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -u [{ClientUserDomainName}\]{ClientUserName} -s {Address}
 
In the AutoIT script, it would be as follow:
PSMGenericClient_GetSessionProperty("ClientUserDomainName", $ClientUserDomainName)
 
PSMGenericClient_GetSessionProperty("ClientUsername", $ClientUsername)
 
Note: 
CyberArk Enterprise Support Teams do *NOT* support the creation or editing of AutoIT scripts.

If you need assistance with creating or editing AutoIT scripts, please contact our Idira Professional Services. 

 


Additional Information


Details

Q:

What are the supported properties we can use of account when we want to use it in our PSM Custom Connection Component, AutoIT Scripts?


Background/Question:
Some customers have requirements of using some account properties in PSM connection component via command line or AutoIT script

Example:
Customer wants to retrieve the PVWA login user and use it in their AutoIT script.

A:

some of the properties may not be relevant to all connection component /accounts:

The full supported  list account properties are

Address
Devicetype
PolicyiD
Username
Password
LogonAccount_Address
LogonAccount_DeviceType
LogonAccount_Password
LogonAccount_PolicyID
LogonAccount_UserName
ExtraPass1Folder
ExtraPass1Name
ExtraPass1Safe
AccessReason
ClientUserName
PSMSourceAddress
SelectedConnCompID
AutoLogonSequenceWithLogonAccount
EnableXForwarding
PSMClientApp
PSMComponentsFolder
PSMComponentsLogFolder
PSMSessionUUID
PSMSessionStartTime
PSMRemoteMachine
LogonDomain
AllowMappingLocalDrives
AllowConnectToConsole
WaitBeforeCmdlineParmsHide
CmdLineParmsHideTimeout
SourceFileTemplate
Port


Sample codes


Use {ClientUserDomainName} and {ClientUserName} in PSM Connection Components configuration to obtain the domain name and username used to login to PVWA.

eg. for the vCenter scenario, here's how the clientApp is defined:
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -u [{ClientUserDomainName}\]{ClientUserName} -s {Address}

In AutoIT script , it would be


PSMGenericClient_GetSessionProperty("ClientUserDomainNamee", $ClientUserDomainName)

PSMGenericClient_GetSessionProperty("ClientUsername", $ClientUsername)

Note: 
CyberArk Enterprise Support Teams does support creation or editing AutoIT scripts. 
In case you need an assistance with creation or editing AutoIT scripts, Please contact with our CyberArk Professorial services 




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001VwDCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail