コード例 #1
0
ファイル: User.php プロジェクト: mangati/php-ldap
 public function availableAttributes()
 {
     $base = parent::availableAttributes();
     return array_merge($base, ['displayName' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => true], 'givenName' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => true], 'sAMAccountName' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => true], 'sAMAccountType' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => true], 'userPrincipalName' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => false], 'userAccountControl' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => false], 'pwdLastSet' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => false], 'unicodePwd' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => false]]);
 }
コード例 #2
0
ファイル: InetOrgPerson.php プロジェクト: mangati/php-ldap
 public function availableAttributes()
 {
     $base = parent::availableAttributes();
     return array_merge($base, ['userid' => ['class' => \Mangati\Ldap\Attribute\TextAttribute::class, 'single_valued' => true]]);
 }