apidocs / com.srv4pos.server.api.user / UserInfo

UserInfo

class UserInfo : Info

Information about the user which has authenticated and authorized.

Constructors

<init>

UserInfo()

Information about the user which has authenticated and authorized.

Properties

email

lateinit var email: String

isDeleted

var isDeleted: Boolean

True if entity was deleted. Only possible if return diff.

role

lateinit var role: UserRole

softwareVendor

var softwareVendor: Long?

If .role == ROLE_HYPER_ADMIN or ROLE_REGULAR_USER, then null. If .role == ROLE_SOFTWARE_VENDOR_ADMIN, then not null.

softwareVendorName

var softwareVendorName: String?

username

lateinit var username: String

Extension Functions

toJson

fun Info.toJson(): String