IsDeputyOf
Checks if user specified in first parameter is deputy for user specified in second parameter
IsDeputyOf("deputy","deputyFor");Function arguments
Dział zatytułowany „Function arguments”- deputy – (String) Login of the user to be checked as deputy
- deputyFor – (String) Login of the user that first user is deputy of
Return value
Dział zatytułowany „Return value”This function returns Boolean. Returns true if user specified in first parameter is deputy of user specified in second
Examples
Dział zatytułowany „Examples”Example 1: This will return if ’exampleUser’ is deputy of ’SecondExampleUser’ and store return value of function in ’valid’ variable
valid = IsDeputyOf("exampleUser","SecondExampleUser");Example 2: This will check if current user is deputy of user specified as Case owner
IsDeputyOf(CurrentUser(),[CaseOwner]);