PEAR Manual
Prev |  | Next

# File_SMBPasswd::printAccounts()

File_SMBPasswd::printAccounts() -- prints the contents of an existing smbpasswd file

## Synopsis

``void File_SMBPasswd::printAccounts` ()`

## Description

Print all accounts of the loaded smbpasswd file.

## Return value

`void`

## Note

This function can not be called statically.

## Example

Example 38-1. Using File_SMBPasswd::printAccounts()
    <?php
    require_once('File/SMBPasswd.php');

    $f     = new File_SMBPasswd('/usr/local/private/smbpasswd');
    $f->load();
    $f->printaccounts();

    ?>

Prev | Home | Next
File_SMBPasswd::save() | Up | File_SearchReplace