You are here

public function LdapUserConf::isLdapEntryProvisionServer in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_user/LdapUserConf.class.php \LdapUserConf::isLdapEntryProvisionServer()

File

ldap_user/LdapUserConf.class.php, line 340

Class

LdapUserConf

Code

public function isLdapEntryProvisionServer($sid) {
  if (!$sid || !$this->ldapEntryProvisionServer) {
    return FALSE;
  }
  elseif ($this->ldapEntryProvisionServer == $sid) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}