access property

PortalAccess access

The portal item access.

A portal item 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. PortalItem.access however only returns a single PortalAccess level enumeration even though multiple levels of access may have been specified. If multiple access levels have been specified on a PortalItem, the returned access level will be the least restrictive access level.

Implementation

PortalAccess get access {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PortalItem_getAccess(_handle, errorHandler);
  });
  return PortalAccess._fromCoreValue(coreValue);
}