DirOrganizationalUnit.isContainedBy(ou2)

Returns true if the ou2 is contained by the ou, otherwise false. For example: // Checking if "BostonSales" is contained by "bostonOu" - In the example below it returns FALSE display ("The OU 'Boston/Sales' as a string is contained by 'Boston' as an OU variable: " + isContainedBy(bostonOU, ou2 : "Boston/Sales"))

Arguments:

Name Type Description Mode
ou2 String string that represents the ou2 id that is or not contained by ou in