show / hide menu

GetUserTemplate

This function retrieves the template name associated with a specified user or group.

Syntax:

GetUserTemplate(UserName)


Description:


The GetUserTemplate function is used to obtain the template name assigned to a particular user or group.

Arguments:

UserName

  • Argument Type: String
  • Is Optional: False
  • Description: The name of the user or group for which the template name is to be retrieved.

Example:

MessageBox(GetUserTemplate(thas1)) 


This example demonstrates retrieving the template name associated with the user named ” thas1″.

Figure1: Rule

Figure2: Preview

Usage:

The GetUserTemplate function provides a means to access the template name assigned to a user or group. This can be useful in various scenarios, such as when customizing user interfaces or applying specific settings based on user roles or groups.