Example #1
0
 /**
  * @param IAuthenticationActionOptions $options
  */
 public function SetAllowedActions($options)
 {
     $this->Set('AllowEmailAddressChange', $options->AllowEmailAddressChange());
     $this->Set('AllowNameChange', $options->AllowNameChange());
     $this->Set('AllowOrganizationChange', $options->AllowOrganizationChange());
     $this->Set('AllowPhoneChange', $options->AllowPhoneChange());
     $this->Set('AllowPositionChange', $options->AllowPositionChange());
     $this->Set('AllowUsernameChange', $options->AllowUsernameChange());
 }
Example #2
0
 /**
  * @param IAuthenticationActionOptions $authenticationOptions
  */
 public function SetAllowedActions($authenticationOptions)
 {
     $this->Set('AllowPasswordChange', $authenticationOptions->AllowPasswordChange());
 }