PHP 클래스 LdapTools\Query\Builder\ADFilterBuilder

저자: Chad Sikorra ([email protected])
상속: extends FilterBuilder
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

공개 메소드들

메소드 설명
accountExpires ( ) : bAnd Checks for accounts that are set to expire at a certain date.
accountIsDisabled ( ) : MatchingRule Checks for disabled accounts via a bitwise AND comparison on userAccountControl.
accountIsLocked ( ) : Comparison Checks for locked accounts via a comparison on the lockoutTime attribute.
accountNeverExpires ( ) : bOr Checks for accounts that never expire.
groupIsDistribution ( ) : bNot Check for groups that are distribution lists.
groupIsDomainLocal ( ) : MatchingRule Checks for groups that are domain local in scope.
groupIsGlobal ( ) : MatchingRule Checks for groups that are global in scope.
groupIsSecurityEnabled ( ) : MatchingRule Checks for groups that are security enabled.
groupIsType ( integer $flag ) : MatchingRule Check for a specific AD group type by its flag.
groupIsUniversal ( ) : MatchingRule Checks for groups that are universal in scope.
hasMemberRecursively ( string $value, string $attribute = 'members' ) : MatchingRule Performs a recursive search of members in a group to see if the account is one of them.
isRecursivelyMemberOf ( string $group, string $attribute = 'groups' ) : MatchingRule Performs a recursive search of group membership to determine if the account belongs to it. If you are not using a schema and want to use this function you should pass 'memberOf' as the second argument.
mailEnabled ( ) : Wildcard Checks for the existence of an attribute that should only be set on mail-enabled objects.
passwordMustChange ( ) : Comparison Check for accounts where they must change their password on the next logon.
passwordNeverExpires ( ) : MatchingRule Checks for accounts where the password never expires via a bitwise AND comparison on userAccountControl.

메소드 상세

accountExpires() 공개 메소드

Checks for accounts that are set to expire at a certain date.
사용 중단: Use the accountExpirationDate schema attribute instead (bool true)
public accountExpires ( ) : bAnd
리턴 LdapTools\Query\Operator\bAnd

accountIsDisabled() 공개 메소드

Checks for disabled accounts via a bitwise AND comparison on userAccountControl.
사용 중단: Use the disabled schema attribute instead.
public accountIsDisabled ( ) : MatchingRule
리턴 LdapTools\Query\Operator\MatchingRule

accountIsLocked() 공개 메소드

Checks for locked accounts via a comparison on the lockoutTime attribute.
사용 중단: Use the 'locked' schema attribute instead.
public accountIsLocked ( ) : Comparison
리턴 LdapTools\Query\Operator\Comparison

accountNeverExpires() 공개 메소드

Checks for accounts that never expire.
사용 중단: Use the accountExpirationDate schema attribute instead (bool false)
public accountNeverExpires ( ) : bOr
리턴 LdapTools\Query\Operator\bOr

groupIsDistribution() 공개 메소드

Check for groups that are distribution lists.
사용 중단: Use the typeDistribution schema attribute instead.
public groupIsDistribution ( ) : bNot
리턴 LdapTools\Query\Operator\bNot

groupIsDomainLocal() 공개 메소드

Checks for groups that are domain local in scope.
사용 중단: Use the scopeDomainLocal schema attribute instead.
public groupIsDomainLocal ( ) : MatchingRule
리턴 LdapTools\Query\Operator\MatchingRule

groupIsGlobal() 공개 메소드

Checks for groups that are global in scope.
사용 중단: Use the scopeGlobal schema attribute instead.
public groupIsGlobal ( ) : MatchingRule
리턴 LdapTools\Query\Operator\MatchingRule

groupIsSecurityEnabled() 공개 메소드

Checks for groups that are security enabled.
사용 중단: Use the typeSecurity schema attribute instead.
public groupIsSecurityEnabled ( ) : MatchingRule
리턴 LdapTools\Query\Operator\MatchingRule

groupIsType() 공개 메소드

Check for a specific AD group type by its flag.
또한 보기: LdapTools\Query\GroupTypeFlags
사용 중단: Use the group type schema attributes instead.
public groupIsType ( integer $flag ) : MatchingRule
$flag integer A constant from GroupTypeFlags
리턴 LdapTools\Query\Operator\MatchingRule

groupIsUniversal() 공개 메소드

Checks for groups that are universal in scope.
사용 중단: Use the scopeUniversal schema attribute instead.
public groupIsUniversal ( ) : MatchingRule
리턴 LdapTools\Query\Operator\MatchingRule

hasMemberRecursively() 공개 메소드

Performs a recursive search of members in a group to see if the account is one of them.
public hasMemberRecursively ( string $value, string $attribute = 'members' ) : MatchingRule
$value string A username, SID, GUID, DN or LdapObject.
$attribute string The attribute to query against. Defaults to 'members'.
리턴 LdapTools\Query\Operator\MatchingRule

isRecursivelyMemberOf() 공개 메소드

Performs a recursive search of group membership to determine if the account belongs to it. If you are not using a schema and want to use this function you should pass 'memberOf' as the second argument.
public isRecursivelyMemberOf ( string $group, string $attribute = 'groups' ) : MatchingRule
$group string The name, GUID, SID, LdapObject or DN of a group
$attribute string The attribute to query against. Defaults to 'groups'.
리턴 LdapTools\Query\Operator\MatchingRule

mailEnabled() 공개 메소드

Checks for the existence of an attribute that should only be set on mail-enabled objects.
public mailEnabled ( ) : Wildcard
리턴 LdapTools\Query\Operator\Wildcard

passwordMustChange() 공개 메소드

Check for accounts where they must change their password on the next logon.
사용 중단: Use the passwordMustChange schema attribute instead (bool false)
public passwordMustChange ( ) : Comparison
리턴 LdapTools\Query\Operator\Comparison

passwordNeverExpires() 공개 메소드

Checks for accounts where the password never expires via a bitwise AND comparison on userAccountControl.
사용 중단: Use the passwordNeverExpires schema attribute instead.
public passwordNeverExpires ( ) : MatchingRule
리턴 LdapTools\Query\Operator\MatchingRule