You are here

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

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

File

ldap_user/LdapUserConf.class.php, line 292

Class

LdapUserConf

Code

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