You are here

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

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

File

ldap_user/LdapUserConf.class.php, line 304

Class

LdapUserConf

Code

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