asUserName

Casts this UserIdentifier as a UserName and retrieves its kotlin.String value. Throws an exception if the UserIdentifier is not a UserName.