os.Path.uid

The os.Path.uid method is used to return the UNIX user id of a file. The syntax of the function is as follows:

 

CALL os.Path.uid(f_name) RETURNING id

 

where:

·         f_name = a string variable standing for the file name,

·         id = an integer standing for the user id.

 

Usage

In case of a failure the function returns the negative integer -1.