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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.