Method | Description | |
---|---|---|
accountExpires ( ) : |
Checks for accounts that are set to expire at a certain date. | |
accountIsDisabled ( ) : |
Checks for disabled accounts via a bitwise AND comparison on userAccountControl. | |
accountIsLocked ( ) : |
Checks for locked accounts via a comparison on the lockoutTime attribute. | |
accountNeverExpires ( ) : |
Checks for accounts that never expire. | |
groupIsDistribution ( ) : |
Check for groups that are distribution lists. | |
groupIsDomainLocal ( ) : |
Checks for groups that are domain local in scope. | |
groupIsGlobal ( ) : |
Checks for groups that are global in scope. | |
groupIsSecurityEnabled ( ) : |
Checks for groups that are security enabled. | |
groupIsType ( integer $flag ) : |
Check for a specific AD group type by its flag. | |
groupIsUniversal ( ) : |
Checks for groups that are universal in scope. | |
hasMemberRecursively ( string $value, string $attribute = 'members' ) : |
Performs a recursive search of members in a group to see if the account is one of them. | |
isRecursivelyMemberOf ( string $group, string $attribute = 'groups' ) : |
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 ( ) : |
Checks for the existence of an attribute that should only be set on mail-enabled objects. | |
passwordMustChange ( ) : |
Check for accounts where they must change their password on the next logon. | |
passwordNeverExpires ( ) : |
Checks for accounts where the password never expires via a bitwise AND comparison on userAccountControl. |
public accountExpires ( ) : |
||
return |
public accountIsDisabled ( ) : |
||
return |
public accountIsLocked ( ) : |
||
return |
public accountNeverExpires ( ) : |
||
return |
public groupIsDistribution ( ) : |
||
return |
public groupIsDomainLocal ( ) : |
||
return |
public groupIsGlobal ( ) : |
||
return |
public groupIsSecurityEnabled ( ) : |
||
return |
public groupIsType ( integer $flag ) : |
||
$flag | integer | A constant from GroupTypeFlags |
return |
public groupIsUniversal ( ) : |
||
return |
public hasMemberRecursively ( string $value, string $attribute = 'members' ) : |
||
$value | string | A username, SID, GUID, DN or LdapObject. |
$attribute | string | The attribute to query against. Defaults to 'members'. |
return |
public isRecursivelyMemberOf ( string $group, string $attribute = 'groups' ) : |
||
$group | string | The name, GUID, SID, LdapObject or DN of a group |
$attribute | string | The attribute to query against. Defaults to 'groups'. |
return |
public mailEnabled ( ) : |
||
return |
public passwordMustChange ( ) : |
||
return |
public passwordNeverExpires ( ) : |
||
return |