PortalPrivilege Class

  • PortalPrivilege
  • class Esri::ArcGISRuntime::PortalPrivilege

    Represents a particular privilege possessed by a portal user. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    PortalPrivilege(Esri::ArcGISRuntime::PortalPrivilege &&other)
    PortalPrivilege(const Esri::ArcGISRuntime::PortalPrivilege &other)
    PortalPrivilege()
    Esri::ArcGISRuntime::PortalPrivilege &operator=(Esri::ArcGISRuntime::PortalPrivilege &&other)
    Esri::ArcGISRuntime::PortalPrivilege &operator=(const Esri::ArcGISRuntime::PortalPrivilege &other)
    ~PortalPrivilege()
    Esri::ArcGISRuntime::PortalPrivilegeRealm realm() const
    Esri::ArcGISRuntime::PortalPrivilegeRole role() const
    Esri::ArcGISRuntime::PortalPrivilegeSubtype subtype() const
    QString subtypeName() const
    Esri::ArcGISRuntime::PortalPrivilegeType type() const
    QString typeName() const

    Detailed Description

    This privilege permits the PortalUser to peform specific operations on the Portal.

    Member Function Documentation

    PortalPrivilege::PortalPrivilege(Esri::ArcGISRuntime::PortalPrivilege &&other)

    Move constructor from other PortalPrivilege.

    PortalPrivilege::PortalPrivilege(const Esri::ArcGISRuntime::PortalPrivilege &other)

    Copy constructor from other PortalPrivilege.

    PortalPrivilege::PortalPrivilege()

    Default Constructor.

    Esri::ArcGISRuntime::PortalPrivilege &PortalPrivilege::operator=(Esri::ArcGISRuntime::PortalPrivilege &&other)

    Move operator from other PortalPrivilege.

    Esri::ArcGISRuntime::PortalPrivilege &PortalPrivilege::operator=(const Esri::ArcGISRuntime::PortalPrivilege &other)

    Assignment operator from other PortalPrivilege.

    PortalPrivilege::~PortalPrivilege()

    Destructor.

    Esri::ArcGISRuntime::PortalPrivilegeRealm PortalPrivilege::realm() const

    The realm the privilege belongs to.

    Realms help to organize privileges into categories for aspects relating to a portal.

    Esri::ArcGISRuntime::PortalPrivilegeRole PortalPrivilege::role() const

    The role the privilege applies to.

    Esri::ArcGISRuntime::PortalPrivilegeSubtype PortalPrivilege::subtype() const

    Returns the fine-grained operation subtype this privilege permits.

    Subtypes control access to a few fine-grained operations. The value is PortalPrivilegeSubtype::None unless this privilege relates to a fine-grained operation.

    This function was introduced in Esri::ArcGISRuntime 100.12.

    QString PortalPrivilege::subtypeName() const

    Returns the subtype name for this privilege.

    Generally, the subtype name is the string representation of the subtype. However, if the subtype is PortalPrivilegeSubtype::Unknown, the subtype name is set with the subtype string found in the portal privilege JSON. This allows this API to handle new portal privilege subtypes added at the server but not yet exposed in ArcGIS Runtime.

    This function was introduced in Esri::ArcGISRuntime 100.12.

    Esri::ArcGISRuntime::PortalPrivilegeType PortalPrivilege::type() const

    The operation permitted by the privilege.

    QString PortalPrivilege::typeName() const

    The type name of the privilege.

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