I want to create a validation rule that only allows certain users the ability to enter data or edit a field, depending on their user ID.
Any help would be much appreciated.
Thanks
Matt
4 answers
Like this:
AND(
$User.Id <> "ALLOWED USER 1",
$User.Id <> "ALLOWED USER 2",
$User.Id <> "ALLOWED USER 3",
....,
$User.Id <> "ALLOWED USER n",
OR(
ISCHANGED(Field_1__c),
ISCHANGED(Field_2__c),
ISCHANGED(Field_3__c),
.....,
ISCHANGED(Field_n__c)
)
)
Also in order to make this more scaleable I would recommend you to read through this:
http://www.buanconsulting.com/the-custom-setting-every-administrator-needs/