Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineGroups
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include | #include "Interfaces/OnlineGroupsInterface.h" |
TSharedPtr< const IGroupRoster > GetCachedGroupRoster
&40;
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId
&41;
Remarks
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. Shared pointer to the cached roster structure if one exists
Parameters
| Name | Description |
|---|---|
| ContextUserId | The ID of the user whose credentials are being used to make this call |
| GroupId | The group's globally unique ID |