Print

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]);
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?