This function returns a boolean value indicating whether the specified user or group exists in the given template(s).
Syntax:
ValidateUserTemplate(UserName, TemplateName)
Description:
The ValidateUserTemplate function checks if the provided user or group exists within the given template(s) and returns a boolean value accordingly.
Arguments:
UserName
TemplateName
Example:
MessageBox(ValidateUserTemplate(Thas1,Template7))
In this example, the function checks if the user ” Thas1″ exists in the template ” Template7″ and displays the boolean result in messagebox.
Figure1: Rule
Figure2: Preview
Usage:
The ValidateUserTemplate function provides a straightforward way to verify whether a user or group is included in one or more templates. This can be useful for access control, permission management, or other scenarios where user-group associations need to be validated.