getUser

suspend fun getUser(username: String, domain: AuthDomain = AuthDomain.LOCAL, common: CommonOptions = CommonOptions.Default): UserAndMetadata

Throws

com.couchbase.client.core.error.UserNotFoundException

if user does not exist