26 if (count(explode(
' ',
$attributes[
'cn'][0])) > 1) {
49 if (isset($localname)) {
59 if (strpos(
$userid,
'@') ===
false) {
62 $decomposed = explode(
'@',
$userid);
63 if (count($decomposed) === 2) {
64 return $decomposed[0];
79 assert(array_key_exists(
'Attributes',
$request));
85 if (isset($fullname)) {
86 $request[
'Attributes'][
'smartname-fullname'] = array($fullname);
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
process(&$request)
Apply filter to add or replace attributes.
$attributes
Attributes which should be added/appended.
if(empty($userids)) $userid