Skip to main content
Version: SDK-5.9.6

FindCustomID

public BackendReturnObject FindCustomID(string EmailAddress);

Parameter

ValueTypeDescription
EmailAddressstringEmail address entered in advance

Description

When a custom user forgets the ID or wants to initialize the password, the user can find the ID and initialize 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 initialize the password up to 5 times within 24 hours.

Information of all registered IDs will be delivered via email.
The email, with its title and content, is sent in the order of the country code of the person with the earliest sign-up date from the users with email address registrations.

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
});

Return cases

Success cases

When the email is sent successfully
statusCode : 204
message : Success

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
message : User name is missing: unique value no-reply@thebackend.io;

When the gamer with the given email does not exist
statusCode : 404
errorCode : NotFoundException
message : gamer not found, gamer cannot be found

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
message : To protect your information, Find ID/Initialize Password is available only 5 times a day. Please try again tomorrow. You have reached the maximum number of requests.