---
description: The objective is to establish the procedure for requesting a moderator role..
---

# Request Moderator Role API

If the participant wants to have the Moderator privilege, he can do it using this API request.

API used is VidyoConnectorRequestModeratorRole and the triggered callback is VidyoConnectorOnRequestModeratorRoleResult

public void OnRequestModeratorRoleResult(Connector.ConnectorModerationResult result)

&#x20; {

&#x20;    if (result == ConnectorModerationResult.ConnectormoderationresultOK)

&#x20;      {

&#x20;               IsRoleModerator = true;

&#x20;               IsRoleNone = false;

&#x20;       }

&#x20;       else

&#x20;        {

&#x20;             IsRoleModerator = false;

&#x20;             IsRoleNone = true;

&#x20;         }

&#x20;    }
