PHP Class LdapTools\AttributeConverter\ConvertPrimaryGroup

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait AttributeConverterTrait, use trait LdapTools\Utilities\ConverterUtilitiesTrait
Datei anzeigen Open project: ldaptools/ldaptools

Public Methods

Method Description
fromLdap ( $value )
toLdap ( $value )

Protected Methods

Method Description
validateAndGetGroupSID ( string $name ) : string Make sure that the group exists and that the user is already a member of it. If not, at least give an informative message.

Method Details

fromLdap() public method

public fromLdap ( $value )

toLdap() public method

public toLdap ( $value )

validateAndGetGroupSID() protected method

Make sure that the group exists and that the user is already a member of it. If not, at least give an informative message.
protected validateAndGetGroupSID ( string $name ) : string
$name string The group name.
return string The text SID of the group.