Class UssGetAcl


  • public class UssGetAcl
    extends Object
    Provides Unix System Services (USS) getfacl functionality

    z/OSMF REST API

    Version:
    5.0
    Author:
    James Kostrewski
    • Constructor Detail

      • UssGetAcl

        public UssGetAcl​(ZosConnection connection)
        UssGetAcl Constructor
        Parameters:
        connection - for connection information, see ZosConnection object
    • Method Detail

      • get

        public String get​(String targetPath,
                          boolean useCommas)
                   throws ZosmfRequestException
        Get the ACL for a USS file or directory
        Parameters:
        targetPath - file name with a path
        useCommas - true if commas are to be used in the output
        Returns:
        string representation of response phrase
        Throws:
        ZosmfRequestException - request error state