Hi Bruno,
See my answer to George about Recording the date that a property (e.g. description) was last changed
and replace Validate script by this one.
In this example only BENOIT (Windows user) can modify comment field description. All others users has not right to do modification. In factif the user tries toedit the fieldIdoes not allow to save it.
A) As I say you can't get PD username or group permission. See my answer on Aug 24, 2014 12:11 PM
B) Far as I knowyou can'tseta fieldread onlyorread+write by programming following a condition.
C) Myexampleisafunctionalworkaround to meet your problem and takes into account thelimits ofPD
Note : Your evaluation of my answer would be appreciated. Ifyou thinkI answeredyour question mark the answer as "Helpful” or “Correct”. Also Ifyouconsider that Ianswered mark the discussion as “Answered,” so that other members can find the answer more easily. Before posting a new question members search SCN to see if it’s already been asked / answered. That’s the fastest way to get information.