KickGuildMember
public BackndReturnObject KickGuildMember(string gamerIndate);
Parameter
Value | Type | Description |
---|---|---|
gamerIndate | string | indate of gamer to be expelled from guild |
Description
The guild master can expel all members, and the vice guild master can expel all members except the guild master and vice guild master.
Example
Synchronous
Backnd.Guild.KickGuildMember("gamerIndate");
Asynchronous
Backnd.Guild.KickGuildMember("gamerIndate", (callback) =>
{
// Post-process
});
Return cases
Success cases
When expelled successfully
statusCode : 204
Error cases
When a vice guild master attempts to expel another vice guild master
statusCode : 403
errorCode : ForbiddenException
When a user without the privilege attempts to expel another user
statusCode : 403
errorCode : ForbiddenException
When the gamerIndate does not exist
statusCode : 404
errorCode : NotFoundException