public function getAccounts()
    {
        if ($output = $this->execute('icacls', $this->path)) {
            // The first element will always include the path, we'll
            // remove it before passing the output to the parser.
            $output[0] = str_replace($this->path, '', $output[0]);

            // The last element will always contain the success / failure message.
            array_pop($output);

            // We'll also remove blank lines from the output array.
            $output = array_filter($output);

            // Finally, we'll pass the output to the parser.
            return $this->newParser($output)->parse();
        }

        return false;
    }
public function getAccounts()
    {
        if ($output = $this->execute('icacls', $this->path)) {
            // The first element will always include the path, we'll
            // remove it before passing the output to the parser.
            $output[0] = str_replace($this->path, '', $output[0]);

            // The last element will always contain the success / failure message.
            array_pop($output);

            // We'll also remove blank lines from the output array.
            $output = array_filter($output);

            // Finally, we'll pass the output to the parser.
            return $this->newParser($output)->parse();
        }

        return false;
    }
public function getAccounts ( ) { if ( $ output = $ this -> execute ( 'icacls' , $ this -> path ) ) { // The first element will always include the path, we'll // remove it before passing the output to the parser. $ output [ 0 ] = str_replace ( $ this -> path , '' , $ output [ 0 ] ) ; // The last element will always contain the success / failure message. array_pop ( $ output ) ; // We'll also remove blank lines from the output array. $ output = array_filter ( $ output ) ; // Finally, we'll pass the output to the parser. return $ this -> newParser ( $ output ) -> parse ( ) ; } return false ; }
Returns an array of accounts with their permissions on the current directory.

Returns false on failure.

@return array|bool
Returns an array of accounts with their permissions on the current directory .