You are here

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

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

File

ldap_user/LdapUserConf.class.php, line 325

Class

LdapUserConf

Code

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