Function Block INVITE_USER

The Function Block INVITE_USER invites a user via email or SMS using a Token.

Input INVITE

A token is created and the user is invited when there is a positive edge at the input. It is important that an email address or mobile number has been stored for the user and that a mail server or SMS server has been configured.

Note: If both an email address and a mobile number have been stored, the message will be sent via email.

Input USER

The input defines the ID of a user. This input may only contain a string. Variables or other data types are disabled for security reasons and will be ignored if set.

Input DT_END

This input can specify a time limit for the token. If the input ONCE is not true, the user will automatically log out after this time.

Input ONCE

If the input ONCE is true during the invitation, the token is only valid once until logout.

Output DONE

The output gives a pulse when the process is completed.

Tip: The language of the email can be defined beforehand with the Function Block USER_LANG.