registration Available
abstract suspend fun registrationAvailable(userName: String): RegistrationAvailability
Content copied to clipboard
Can be call to check is the desired userName is available for registration on the current homeserver. It may also fails if the desired userName is not correctly formatted or does not follow any restriction on the homeserver. Ex: userName with only digits may be rejected.
Parameters
user Name
the desired username. Ex: "alice"