IsDeputyOf

Checks if user specified in first parameter is deputy for user specified in second parameter

Syntax

IsDeputyOf("deputy","deputyFor");

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

This function returns Boolean.
Returns true if user specified in first parameter is deputy of user specified in second

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]);
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.