Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
Include |
#include "Interfaces/OnlineGroupsInterface.h" |
void QueryUserMembership
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & UserId,
const FOnGroupsRequestCompleted & OnCompleted
)
Queries the server for updated membership information for a particular user. This retrieves which groups they are members of. If the callback reports success, use GetCachedUserMembership to retrieve details.
Parameter |
Description |
---|---|
ContextUserId |
The ID of the user whose credentials are being used to make this call |
UserId |
The user to query for membership information. |
OnCompleted |
This callback is invoked after contacting the server. It is guaranteed to occur (regardless of success/fail) and will not be called before this function returns. |