SilverStripe\LDAP\Tests\Model\LDAPFakeGateway::getUserByUsername
Mock to search trough dummy $data.
Signature
public function getUserByUsername(string
$username,
[null
$baseDn = NULL,
[int
$scope = Ldap::SEARCH_SCOPE_SUB,
[array
$attributes = ]]] )
Parameters
$username
— string$baseDn
— null$scope
— int$attributes
— array
Returns
- array