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
Using File_SMBPasswd::printAccounts()
<?php
require_once('File/SMBPasswd.php');
$f = new File_SMBPasswd('/usr/local/private/smbpasswd');
$f->load();
$f->printaccounts();
?>