Interface MetadataCurrentUser

This object contains all the data related to a user within formcycle. To access the user currently signed in, use XFC_METADATA.currentUser. In case the user is not signed in, the user data refers to an anonymous user. For example, the surename is set to [Anonymous].

deprecated

This object refers to XFC_METADATA.currentUser, which should not be used anymore. Instead, use XFC_METADATA.user instead.

Hierarchy

  • MetadataCurrentUser

Index

Properties

WARNING!

WARNING!: string

A warning message informing you that this object is deprecated and scheduled to be removed soon.

active

active: "ACTIVE" | "LOCKED" | "DELETED"
deprecated

The property active was removed, as it is superfluous. Any user that can sign in must necessarily be active. Previously, XFC_METADATA.currentUser.active could never have been false. There is not alternative, as the user is now always active.

Optional email

email: string
deprecated

Use the property mail instead.

Optional forename

forename: undefined

The first or given name of this user.

deprecated

Use the property firstName instead.

ldap

ldap: object

/**

deprecated

See the rawData property of this user for data retrieved from the LDAP.

Type declaration

  • [key: string]: any

Optional mandant

mandant: string
deprecated

The property mandant was removed. You might want use XFC_METADATA.currentClient instead, but please note that this is the client owning the current form, not the client of the user.

Optional phonennumber

phonennumber: string
deprecated

Use the property phone instead.

Optional role

role: string

The (optional) role to which this user was assigned.

surename

surename: string
deprecated

Use the property familyName instead.

title

title: "KEINE_ANGABE" | "HERR" | "FRAU" | "DIVERS"

The form of address of this user.

usergroups

usergroups: string[]
deprecated

Use the property groups instead.

Optional username

username: string
deprecated

Use the property userName instead.