If you mean a folder in the Integrated File System, then you need to use Navigator
right click the object, and there the owner is shown.
– pretty much the same for any object in Qsys.
– Pity Mr Gates didn’t think of something like that when he pinched the DOC basis of Winx
With WRKLNK and option 8 can give you the owner but not necessarily the creator. Even with APIs you can’t get the creator of a file or dir in the IFS.
If you have your security audit journal active (sysval QAUDCTL and QAUDLVL), just do a DSPJRN of your audit journal (usually QAUDJRN) and filter for the CREATE journal code.