Show / Hide Table of Contents

Property Access

Access

Gets or sets the access level on the item. Private is the default and only the item owner can access. Shared allows the item to be shared with a specific group. Setting to Organization restricts item access to members of your organization. If Public, all users can access the item.

Declaration
public PortalAccess Access { get; set; }
Property Value
Type Description
PortalAccess

The access level on the item. Private is the default and only the item owner can access. Shared allows the item to be shared with a specific group. Setting to Organization restricts item access to members of your organization. If Public, all users can access the item.

Remarks

A PortalItem can be accessed by various types of users. There are four levels of access that can be associated with a PortalItem. Some of the access levels can be concurrent, others cannot. The Access Property however only returns a single PortalAccess level enumeration even though multiple levels of access may have been specified via the ShareWithAsync(Boolean, Boolean) and/or ShareWithGroupsAsync(IEnumerable<PortalGroup>) Methods. If multiple access levels have been specified on a PortalItem, the returned access level from the Access Property will be the least restrictive access level. The following diagram illustrates the hierarchy of access levels:

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.0 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.0
In This Article
Back to top Copyright © 2022 Esri.