getOwner

inline fun Path.getOwner(vararg options: LinkOption): UserPrincipal?(source)

Returns the owner of a file.

Since Kotlin

1.5

See also

Throws

if the associated file system does not support the FileOwnerAttributeView.