asCurrentUser

fun asCurrentUser(entity: <Error class: unknown class>): KnownEntity

Create a KnownEntity marking this as the current user.


fun asCurrentUser(entity: <Error class: unknown class>, aliases: List<String>): KnownEntity

Create a KnownEntity marking this as the current user, threading alternate name forms so a resolver can match an alt-name chunk mention (e.g. "Tom" for "Thomas") back to the user.