Kits SDK para Unity / Cuenta de usuario
  Volver a Documentos

Kits SDK para Unity

Cuenta de usuario

Users can manage the following information from their account:

  • public profile:
    • avatar
    • nickname
  • personal profile:
    • name and surname
    • date of birth

Nota
Users can set their date of birth only once. This value can’t be changed in the future.
    • gender
    • phone number
    • email
Nota
To set additional user or game character parameters, refer to the instruction on how to work with user attributes.

To implement the user account functionality:

  1. In the application UI, add forms for viewing and managing the user account.
  2. Use the following SDK methods to implement the logic of working with user accounts:

SDK method nameDescription
CheckUserAge
Checks the user’s age for a particular region. The age requirements depend on the region. Service determines the user’s location by the IP address.
GetUserInfo
Returns information about the user.
UpdateUserInfo
Updates the specified user’s information. Changes are made on the user data storage side.
GetUserEmail
Gets the user’s email.
GetUserPhoneNumber
Returns the user’s phone number that is used for two-factor authentication.
UpdateUserPhoneNumber
Changes the user’s phone number that is used for two-factor authentication. Changes are made on the user data storage side.
DeleteUserPhoneNumber
Deletes the user’s phone number that is used for two-factor authentication. Changes are made on the user data storage side.
UploadUserPicture
Changes the user’s avatar. Changes are made on the user data storage side.
DeleteUserPicture
Deletes the user’s avatar. Changes are made on the user data storage side.
Nota
If you don’t want to implement an interface and additional logic for working with user accounts, implement opening user accounts by URL in an iframe or new browser tab.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Valore esta página
Valore esta página
¿Hay algo en lo que podamos mejorar?

Prefiero no responder

¡Gracias por tu mensaje!

Enlaces útiles

Última actualización: 22 de Enero de 2024

¿Has encontrado una errata u otro error de texto? Selecciona el texto y pulsa Ctrl+Intro.

Informar de un problema
Nos esforzamos por ofrecer contenido de calidad. Tus comentarios nos ayudan a mejorar.
Déjanos tu correo electrónico para que te podamos responder
¡Gracias por tu mensaje!