Hi,
There is no entity PortalUser, since they are inside of User. Ok.
But if I try to find a PortalUser via script, it fails.
But the PortalUser du8f9-z7ff7 exists and if I search in the PortalUser GUI, I find it.

Any idea how to find a PortalUser via script?
Best regards.
There is no entity PortalUser, since they are inside of User. Ok.
But if I try to find a PortalUser via script, it fails.
Code:
$portalUserId = record\findOne('User', 'createdAt', 'desc', 'name', 'du8f9-z7ff7'); output\printLine($portalUserId);
null
Any idea how to find a PortalUser via script?
Best regards.
Comment