UserAndMetadata

fun UserAndMetadata(user: User, domain: AuthDomain, passwordChanged: Instant?, externalGroups: Set<String>, effectiveRolesAndOrigins: Set<RoleAndOrigins>)