Table of Contents

RemoveUsername

Methods
public PlayerAccountOperation RemoveUsername(bool force = false, CancellationToken cancellationToken = default)

Remove the username from the current player account.

Parameters
Type Name Description
bool force

If the player account has no other authentication methods set up besides the username, and a force value of false is passed, then an error will be returned.

If the player account has no other authentication methods set up besides the username, and a force value of true is passed, then the username will still be removed from the account.

WARNING: If the username is removed from the account, and the account has no other authentication methods set up besides said username and its associated password, then access to this player account can be lost.

CancellationToken cancellationToken
Returns
Type Description
PlayerAccountOperation

Result of the operation.