1

I need to deploy profile with Password policy setting as 'Never Expire'. I am not able to get it deploy, don't find the tag use to deploy password settings.

2

You will need to utilize the ProfilePasswordPolicy metadata here.

Represents a profile’s password policies. Profile password policies override org-wide password policies for that profile’s users.

The passwordExpiration is the field which determines the password policy on the profile, and a value of 0 is what reflects that the password never expires.

Number of days until user passwords expire and must be changed. If set to 0, the password never expires. Valid values: 0, 30, 60, 90, 365.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.