Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e2f4db5 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

new func to return ldap access

parent dd0bfd75
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -93,4 +93,12 @@ class LDAPConnectionService
    {
    {
        ldap_close($conn);
        ldap_close($conn);
    }
    }

    public function getLDAPAccess()
    {
        if (!$this->access) {
            throw new Exception('Access not defined!');
        }
        return $this->access;
    }
}
}