Defines the ownership-based access control settings of a feature service. More...
Header | #include <Ownership |
Since | Esri |
Public Functions
Ownership | |
Ownership | |
Ownership | |
~ | |
(since Esri bool | is |
(since Esri bool | is |
bool | is |
bool | is |
bool | is |
bool | is |
Esri | operator=( |
Esri | operator=(const Esri |
Detailed Description
The feature-service owner or administrator can define ownership-based access control to specify which edit operations can be performed on features and by whom. For more information about setting this access control, see Ownership-based access control for feature services.
By examining the OwnershipBasedAccessControlInfo properties, you can determine the access control settings for the features and understand the permissions associated with querying, updating, and deleting features.
You can find ownership-based access control information about specific layers from the ArcGISFeatureLayerInfo::ownershipBasedAccessControl or the ArcGISMapServiceSublayerInfo::ownershipBasedAccessControl. You can enable ownership-based access control by setting EditorTrackingInfo::isOwnershipBasedAccessControlEnabled.
Member Function Documentation
OwnershipBasedAccessControlInfo::OwnershipBasedAccessControlInfo ()
Default constructor. Creates an empty DrawingInfo.
OwnershipBasedAccessControlInfo::OwnershipBasedAccessControlInfo (const Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &other)
Copy constructor from other OwnershipBasedAccessControlInfo.
[noexcept]
OwnershipBasedAccessControlInfo::OwnershipBasedAccessControlInfo (Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &&other)
Move constructor from other OwnershipBasedAccessControlInfo.
[noexcept]
OwnershipBasedAccessControlInfo::~OwnershipBasedAccessControlInfo ()
Destructor.
[since Esri::ArcGISRuntime 100.3]
bool OwnershipBasedAccessControlInfo::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 OwnershipBasedAccessControlInfo::isAllowAnonymousToUpdate () const
Returns true
if anonymous users are allowed to update features, false
otherwise.
This function was introduced in Esri::ArcGISRuntime 100.3.
bool OwnershipBasedAccessControlInfo::isAllowOthersToDelete () const
Returns true
if a feature can be deleted by others than creator.
bool OwnershipBasedAccessControlInfo::isAllowOthersToQuery () const
Returns true
if a feature can be queried by others than creator, false
otherwise.
bool OwnershipBasedAccessControlInfo::isAllowOthersToUpdate () const
Returns true
if a feature can be updated by others than creator, false
otherwise.
bool OwnershipBasedAccessControlInfo::isEmpty () const
Returns true
if this OwnershipBasedAccessControlInfo is empty, false
otherwise.
[noexcept]
Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &OwnershipBasedAccessControlInfo::operator=(Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &&other)
Move operator from other OwnershipBasedAccessControlInfo.
Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &OwnershipBasedAccessControlInfo::operator=(const Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &other)
Assignment operator from other OwnershipBasedAccessControlInfo.