Skip to main content
Version: 5.11.8

FindCustomID

public BackendReturnObject FindCustomID(string EmailAddress);

Parameters

ValueTypeDescription
EmailAddressstringEmail address entered in advance

Description

When a custom user forgets the ID or wants to reset the password, the user can find the ID and reset the password using the email that was registered in advance.

  • For more information on how to register an email, refer to the UpdateCustomEmail method.
  • The template of the email to be sent to the user can be set in Console > Game Operation Management > Find Account Information.
  • The address of the email to be sent is no-reply@thebackend.io, and the sender is the project name.
  • For each email account, a user can find their ID up to 5 times and reset the password up to 5 times within 24 hours.
  • Country Information shows the country of the ID that was first registered with the email. (If US user, Japanese user, and Korean user register the same email in that order, the Find ID window for the US will appear.)

Information of all registered IDs will be delivered via email.

The email is delivered with the title and contents of the relevant country based on the country code of users with an enrolled email, in order of the sign up date.

Example

Synchronous

Backend.BMember.FindCustomID("help@thebackend.io");

Asynchronous

Backend.BMember.FindCustomID("help@thebackend.io", (callback) =>
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.BMember.FindCustomID, "help@thebackend.io", (callback) =>
{
// Post-process
});

ReturnCase

Success cases

When the email is sent successfully
statusCode : 204

Error cases

When special characters have been added to the project name (notification email is not sent, and an error occurs)
statusCode : 400
errorCode : InvalidParameterValue

When the gamer with the given email does not exist
statusCode : 404
errorCode : NotFoundException

When the ID was attempted to be found more than 5 times with the same email information within 24 hours
statusCode : 429
errorCode : Too Many Request