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();
  
?>
saves the smbpasswd file (Previous) File_SearchReplace (Next)
Last updated: Thu, 24 Apr 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.