Portal Group
Represents a group within a portal.
Collections of fully populated PortalGroup objects can be obtained by calling the Portal.waitFindGroups(PortalQueryParameters), Portal.fetchFeaturedGroupsAsync(), and PortalItem.fetchGroupsAsync() methods, and from the PortalUser.getGroups() property. The load status of such objects is LoadStatus.Loaded.
Alternatively, a PortalGroup object can be constructed using PortalGroup.PortalGroup(Portal, String) if the group ID is known. In this case the load status is initially LoadStatus.NotLoaded and the object needs to be loaded to populate its properties.
The portal group owner is automatically an administrator and is returned in the list of admins. The access property determines the visibility of the group to other users. If the group is private, no one except the administrators and the members of the group can see it. If the group is shared with an organization, then all members of the organization can see the group.
Administrators can invite, add to, and remove members from a group, and also update and delete the group. The administrator for an organization may also reassign the group to another member of the organization. Group members may leave the group. Authenticated users may apply to join a group.
Since
200.0.0
Properties
The access level of the group's content. Remark: If null
, the access is unknown.
The date on which the group was created.
The description of the group.
The property indicates whether the group will not accept join requests. If true
, only group owners and admins can invite users to the group. Otherwise, this group does not require an invitation to join.
The property indicates the group is view only or not. Users cannot share items with view only groups.
The date on which the group was modified.
The sort field for the group's content.
The sort order for the group's content.
The thumbnail image of the group. If it is null
, there is no group thumbnail. Otherwise, the image needs to be loaded asynchronously by using LoadableImage.load.
Functions
Fetches users and administrators of this group.
Finds portal items that belong to this group and match the given search parameters.