// GetDisabledUsers gets Deactivated user(Deleted user in mode 0)
GetDisabledUsers gets Deactivated user(Deleted user in mode 0)
// GetDisabledUsers gets Deactivated user ( Deleted user in mode 0 )
func (s *UserService) GetDisabledUsers() ([]User, error) {
	s.command = "getuserdata"
	s.data = User{Disabled: true}
	res, err := s.doRequest()
	if err != nil {
		return nil, err
	}
	var Users users
	err = JSONBodyDecoder(res, &Users)
	if err != nil {
		return nil, err
	}
	return Users.getUsers(), nil
}
func ( s * UserService ) GetDisabledUsers ( ) ( [ ] User , error ) { s . command = " " s . data = User { Disabled : true } res , err := s . doRequest ( ) if err != nil { return nil , err } var Users users err = JSONBodyDecoder ( res , & Users ) if err != nil { return nil , err } return Users . getUsers ( ) , nil }
GetDisabledUsers gets Deactivated user(Deleted user in mode 0)
GetDisabledUsers gets Deactivated user ( Deleted user in mode 0 )