Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the specified category is part of a hierarchy with the specified role.
Syntax
client server public static boolean checkCategoryRole(EcoResCategoryId _ecoResCategoryId, EcoResCategoryNamedHierarchyRole _ecoResNamedCategoryHierarchyRole)
Run On
Called
Parameters
- _ecoResCategoryId
Type: EcoResCategoryId Extended Data Type
The category ID in the EcoResCategory table.
- _ecoResNamedCategoryHierarchyRole
Type: EcoResCategoryNamedHierarchyRole Enumeration
The category role in the EcoResCategoryHierarchyRole table.
Return Value
Type: boolean
true if the specified category is part of a hierarchy with the specified role; otherwise, false and it displays an error message.