Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IOnlineGroups
Description
Get the cached Roster (membership) information for a group. If the information is not cached locally, call QueryGroupRoster to request it from the server. If the context user is a member of this group, the cached roster information will include petitioners and invitees, otherwise it will not.
| Name | GetCachedGroupRoster |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include Path | #include "Interfaces/OnlineGroupsInterface.h" |
TSharedPtr < const IGroupRoster > GetCachedGroupRoster
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId
)
Shared pointer to the cached roster structure if one exists
Parameters
| Name | Remarks |
|---|---|
| ContextUserId | The ID of the user whose credentials are being used to make this call |
| GroupId | The group's globally unique ID |