user_type History

web

android

The type of user.


Values

NameValueDescription
authenticatedauthenticatedThe user is authenticated.
anonymousanonymousThe user is anonymous.

Generated Code

Android
package net.meilcli.dte.entity

/**
 * The type of user.
 */
enum class UserType(val value: String) {
    /**
     * The user is authenticated.
     */
    Authenticated("authenticated"),    
    /**
     * The user is anonymous.
     */
    Anonymous("anonymous"),    
}
Web
/**
 * The type of user.
 */
const UserType = {
    /**
     * The user is authenticated.
     */
    Authenticated: "authenticated",
    /**
     * The user is anonymous.
     */
    Anonymous: "anonymous",
} as const;
 
export type UserType = (typeof UserType)[keyof typeof UserType];