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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |