[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/plugins/authad/adLDAP/classes/ -> adLDAPComputers.php (summary)

PHP LDAP CLASS FOR MANIPULATING ACTIVE DIRECTORY Version 4.0.4 PHP Version 5 with SSL and LDAP support

Author: Scott Barnett, Richard Hyland
Copyright: (c) 2006-2012 Scott Barnett, Richard Hyland
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html LGPLv2.1
Link: http://adldap.sourceforge.net/
Version: 4.0.4
File Size: 153 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

adLDAPComputers:: (5 methods):
  __construct()
  info()
  infoCollection()
  inGroup()
  groups()


Class: adLDAPComputers  - X-Ref

COMPUTER MANAGEMENT FUNCTIONS

__construct(adLDAP $adldap)   X-Ref
The current adLDAP connection via dependency injection


info($computerName, $fields = NULL)   X-Ref
Get information about a specific computer. Returned in a raw array format from AD

return: array
param: string $computerName The name of the computer
param: array $fields Attributes to return

infoCollection($computerName, $fields = NULL)   X-Ref
Find information about the computers. Returned in a raw array format from AD

return: mixed
param: string $computerName The name of the computer
param: array $fields Array of parameters to query

inGroup($computerName, $group, $recursive = NULL)   X-Ref
Check if a computer is in a group

return: array
param: string $computerName The name of the computer
param: string $group The group to check
param: bool $recursive Whether to check recursively

groups($computerName, $recursive = NULL)   X-Ref
Get the groups a computer is in

return: array
param: string $computerName The name of the computer
param: bool $recursive Whether to check recursively