I'm trying to have a validation rule to allow 2 profiles to update a date field. it throws an error each time saying the user cannot update the field.
AND(
NOT(
ISBLANK(
PRIORVALUE(IAP_Estimated_End_Date__c)
)
),
OR(
ISCHANGED(IAP_Estimated_End_Date__c),
AND(
$Profile.Id <> "00e41000000XkCJ",
$Profile.Id <> "00e41000000XkDC"
)
)
)