At the beginning, the player is logged in with iOS/Android device ID. Then the players enters his desired username and email address in the text fields. After that, I want to find out if the players desired username and email address are already used by another player before the player can call AddUsernamePassword.
I know that I can find out in the client code with API GetAccountInfo if a username or email address is already used by another player. Is it possible to do the same thing in cloud script? If not, would it be possible to do it in Azure Functions?