Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGroupsInterface.h |
Include |
#include "Interfaces/OnlineGroupsInterface.h" |
void DemoteUser
(
const FUniqueNetId & ContextUserId,
const FUniqueNetId & GroupId,
const FUniqueNetId & UserId,
const FOnGroupsRequestCompleted & OnCompleted
)
Demote an Admin to a Member within the specified group. Fails if the user's role is not Admin (Owner != Admin).
Parameter |
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 demote to regular member. |
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. |