Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineGroups > API/Plugins/OnlineSubsystem/Interfaces/IOnlineGroups/InviteUser
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
| Include | #include "Interfaces/OnlineGroupsInterface.h" |
virtual void InviteUser
&40;
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId,
const FUniqueNetId & UserId,
const FOnGroupsRequestCompleted & OnCompleted
&41;
Remarks
Invite a user to join the specified group.
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 |
| UserId | The user to add to the group. |
| 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. |