You need to sign in to do that
Don't have an account?
KhaledZero
Block updating some values in User with Trigger
Hey,
I want block change of some values in User with a trigger.
values to block:
LastName, FirstName ,Alias , Username ,Email, CompanyName, Department, Division ,UserRoleId ,Phone ,Extension ,Fax ,MobilePhone ,EmployeeNumber ,Street ,City, PostalCode ,Country
trigger:
trigger UserBlockChange on User (before update) { if(trigger.IsUpdate){ } }
Thx.
You could use validation rules to accomplish that task.
Regardless, the trigger would generally look like this:
This trigger allows only administrators permission to change values.