Issue with userOrGroup type

Certified Associate Developer

Hi everyone, just wondering why the string is not being typecasted to both user and group and being checked which one is valid since the type is userOrGroup?

  Discussion posts and replies are publicly visible