Editor tracking information indicates who can edit features of an ArcGIS feature service. More...
Header: | #include <EditorTrackingInfo.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
EditorTrackingInfo() | |
EditorTrackingInfo(const Esri::ArcGISRuntime::EditorTrackingInfo &other) | |
EditorTrackingInfo(Esri::ArcGISRuntime::EditorTrackingInfo &&other) | |
~EditorTrackingInfo() | |
bool | isAllowAnonymousToDelete() const |
bool | isAllowAnonymousToUpdate() const |
bool | isAllowOthersToDelete() const |
bool | isAllowOthersToUpdate() const |
bool | isEditorTrackingEnabled() const |
bool | isEmpty() const |
bool | isOwnershipBasedAccessControlEnabled() const |
Esri::ArcGISRuntime::EditorTrackingInfo & | operator=(const Esri::ArcGISRuntime::EditorTrackingInfo &other) |
Esri::ArcGISRuntime::EditorTrackingInfo & | operator=(Esri::ArcGISRuntime::EditorTrackingInfo &&other) |
Detailed Description
Editor tracking allows you to record who made edits and when the edits were applied. This can help you enforce accountability and quality control of the features you add to the geodatabase. If isEditorTrackingEnabled is true
, this editing information is recorded against each edited feature using the fields specified in the EditFieldsInfo. For more information, see Editor tracking for feature services.
You can obtain EditorTrackingInfo from the ArcGISFeatureServiceInfo::editorTrackingInfo.
Member Function Documentation
EditorTrackingInfo::EditorTrackingInfo ()
Default constructor. Creates an empty EditorTrackingInfo.
EditorTrackingInfo::EditorTrackingInfo (const Esri::ArcGISRuntime::EditorTrackingInfo &other)
Copy constructor from other EditorTrackingInfo.
EditorTrackingInfo::EditorTrackingInfo (Esri::ArcGISRuntime::EditorTrackingInfo &&other)
Move constructor from other EditorTrackingInfo.
EditorTrackingInfo::~EditorTrackingInfo ()
Destructor.
[since Esri::ArcGISRuntime 100.3]
bool EditorTrackingInfo::isAllowAnonymousToDelete () const
Returns true
if anonymous users are allowed to delete features, false
otherwise.
This function was introduced in Esri::ArcGISRuntime 100.3.
[since Esri::ArcGISRuntime 100.3]
bool EditorTrackingInfo::isAllowAnonymousToUpdate () const
Returns true
if anonymous users are allowed to update features, false
otherwise.
This function was introduced in Esri::ArcGISRuntime 100.3.
bool EditorTrackingInfo::isAllowOthersToDelete () const
Returns true
if users other than the owner are allowed to delete, false
otherwise.
bool EditorTrackingInfo::isAllowOthersToUpdate () const
Returns true
if users other than the owner are allowed to update, false
otherwise.
bool EditorTrackingInfo::isEditorTrackingEnabled () const
Returns true
if editor tracking is enabled, false
otherwise.
If true
, the feature service will record who added or edited the data and when the edit is made. This information is stored in fields that the data owner defined when they enabled editor tracking on the feature service. You can obtain these edit field names from ArcGISFeatureLayerInfo::editFieldsInfo. For more information, see Editor tracking for feature services.
bool EditorTrackingInfo::isEmpty () const
Returns true
if this EditorTrackingInfo is empty.
bool EditorTrackingInfo::isOwnershipBasedAccessControlEnabled () const
Returns true
if ownership-based access control is enabled, false
otherwise.
The data owner can restrict people from accessing features they do not own using Ownership-based access control. For more information, see Ownership-based access control for feature services.
Esri::ArcGISRuntime::EditorTrackingInfo &EditorTrackingInfo::operator=(const Esri::ArcGISRuntime::EditorTrackingInfo &other)
Assignment operator from other EditorTrackingInfo.
Esri::ArcGISRuntime::EditorTrackingInfo &EditorTrackingInfo::operator=(Esri::ArcGISRuntime::EditorTrackingInfo &&other)
Move operator from other EditorTrackingInfo.