Learn how to use the getUser function in ArcGIS Pro 2.7 to create an attribute rule that can prevent editing by certain users. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
@HusseinNasser2 Does this still work on ArcGIS Enterprise 10.9.1? We just upgraded and this attribute rule is no longer working. The documentation indicates that Portal is not supported in the attribute rule profile. The other GetUser signature requires a FeatureSet. Can we get from a $feature in an attribute rule to a FeatureSet? It looks like we should be able to using GetFeatureSet.
There is a known bug in 10.9.1 (can be tracked with BUG-000151193) will be addressed in 10.9.1 Geodata management Patch 2.