Skip to content

OwnershipBasedAccessControlInfo Class

  • OwnershipBasedAccessControlInfo
  • class Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo

    Defines the ownership-based access control settings of a feature service. More...

    Header: #include <OwnershipBasedAccessControlInfo.h>
    Since: Esri::ArcGISRuntime 100.0

    Public Functions

    OwnershipBasedAccessControlInfo()
    OwnershipBasedAccessControlInfo(const Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &other)
    OwnershipBasedAccessControlInfo(Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &&other)
    ~OwnershipBasedAccessControlInfo()
    (since Esri::ArcGISRuntime 100.3) bool isAllowAnonymousToDelete() const
    (since Esri::ArcGISRuntime 100.3) bool isAllowAnonymousToUpdate() const
    bool isAllowOthersToDelete() const
    bool isAllowOthersToQuery() const
    bool isAllowOthersToUpdate() const
    bool isEmpty() const
    Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &operator=(Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &&other)
    Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &operator=(const Esri::ArcGISRuntime::OwnershipBasedAccessControlInfo &other)

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.