Use the getUser Arcade Function to return the current user name and Control Editing Access

2817
2
01-13-2021 01:15 PM
HusseinNasser2
Esri Contributor

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

2 Replies
JimmyBowden
Occasional Contributor II

@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.

Tags (1)
HusseinNasser2
Esri Contributor

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.  

0 Kudos