asUserOrNull

Casts this SubscriptionPrincipal as a User and retrieves its kotlin.String value. Returns null if the SubscriptionPrincipal is not a User.