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

    Public Functions

    PortalPrivilege()
    PortalPrivilege(const Esri::ArcGISRuntime::PortalPrivilege &other)
    PortalPrivilege(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
    Esri::ArcGISRuntime::PortalPrivilege &operator=(const Esri::ArcGISRuntime::PortalPrivilege &other)
    Esri::ArcGISRuntime::PortalPrivilege &operator=(Esri::ArcGISRuntime::PortalPrivilege &&other)

    Detailed Description

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

    Member Function Documentation

    PortalPrivilege::PortalPrivilege()

    Default Constructor.

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

    Copy constructor from other PortalPrivilege.

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

    Move constructor 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.

    [since Esri::ArcGISRuntime 100.12] 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.

    [since 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 a new portal privilege subtype to be handled that was added at the server but is not yet defined as a PortalPrivilegeSubtype.

    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 of operation this privilege permits.

    Generally, the type name is the string representation of the PortalPrivilege::type. However, if the type is PortalPrivilegeType::Unknown, the type name is set with the type string found in the portal privilege JSON. This allows this API to handle a new portal privilege type added at the server that is not yet defined as a PortalPrivilegeType.

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

    Assignment operator from other PortalPrivilege.

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

    Move operator from other PortalPrivilege.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close