
The Function Block INVITE_USER invites a user via email or SMS using a Token.
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.
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.
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.
If the input ONCE is true during the invitation, the token is only valid once until logout.
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.