I'm trying to get the SID of the owner of a file/directory in Windows using javascript.
I tried using fs.lstatSync(p) but it only returns the uid and the gid (only relevant to linux).
How do I get the SID if I'm on Windows ?
I'm trying to get the SID of the owner of a file/directory in Windows using javascript.
I tried using fs.lstatSync(p) but it only returns the uid and the gid (only relevant to linux).
How do I get the SID if I'm on Windows ?