Creating a user-defined virtual attribute using dsconfig in non-interactive mode - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

You can create a virtual attribute in non-interactive command-line mode using dsconfig.

To set up the Employee Password Policy Assignment virtual attribute introduced in the previous section, run the following command.
$ bin/dsconfig create-virtual-attribute \ 
  --name "Employee Password Policy Assignment" \ 
  --type user-defined \
  --set enabled:true \
  --set attribute-type:ds-pwp-password-policy-dn \ 
  --set "filter:(employeeType=employee)" \ 
  --set "value:cn=Employee Password Policy,cn=Password Policies,cn=config"