$isIndirectOwnerOfUser

Examines if the current user is either the direct owner or recursive if the owner of the owner of the specified user.
Syntax
    $isIndirectOwnerOfUser{username}
DocumentationExamines if the current user is either the direct owner or recursive if the owner of the owner of the specified user:

    Parameters:
      username, the name of the user to examine if the current user is indirect owner of.
    Returns:
      1 if and only if the current user is the indirect owner of the named user; 0 otherwise.
Examples
    $switchUser{admin}{admin}
      {
      $isIndirectOwnerOfUser{guest}
      }

    Result:
    if user "admin" with the password "admin" is a direct or an indirect owner of the
    user "guest":
    1 (true)
    if user "admin" with the password "admin" is not a direct or an indirect owner of the
    user "guest":
    0
GroupSecurity
Minimum required transaction-mode:READ
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1