---
title: UserSetHBAProperties
framework: SCSIControllerDriverKit
role: symbol
role_heading: Instance Method
path: scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/usersethbaproperties
---

# UserSetHBAProperties

Sets multiple properties for a host bus adapter.

## Declaration

```occ
virtual kern_return_t UserSetHBAProperties(OSDictionary *properties);
```

## Parameters

- `properties`: A dictionary containing key-value pairs of properties.

## Return Value

Return Value A value that indicates the result of setting the properties. kIOReturnSuccess indicates success. For error definitions, see IOKit Constants.

## Discussion

Discussion Your driver extension calls this method to set properties on the HBA. The properties directory can contain the following keys: kIOPropertyVendorNameKey kIOPropertyProductNameKey kIOPropertyProductRevisionLevelKey kIOPropertyPortDescriptionKey kIOPropertyPortSpeedKey kIOPropertyPortTopologyKey kIOPropertySCSIParallelSignalingTypeKey kIOPropertyFibreChannelCableDescriptionKey kIOPropertyFibreChannelNodeWorldWideNameKey kIOPropertyFibreChannelPortWorldWideNameKey kIOPropertyFibreChannelAddressIdentifierKey kIOPropertyFibreChannelALPAKey kIOPropertySASAddressKey The value of each property should be a pointer to a valid OSString object that represents the value for the property. The value must be of the proper type and size for the specified key.

## See Also

### Managing host bus adapters

- [UserReportInitiatorIdentifier](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreportinitiatoridentifier.md)
- [UserReportHighestSupportedDeviceID](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthighestsupporteddeviceid.md)
- [UserReportMaximumTaskCount](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreportmaximumtaskcount.md)
- [UserDoesHBAPerformDeviceManagement](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbaperformdevicemanagement.md)
- [UserReportHBAHighestLogicalUnitNumber](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthbahighestlogicalunitnumber.md)
- [UserDoesHBAPerformAutoSense](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbaperformautosense.md)
- [UserDoesHBASupportMultiPathing](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbasupportmultipathing.md)
- [UserDoesHBASupportSCSIParallelFeature](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userdoeshbasupportscsiparallelfeature.md)
- [SCSIParallelFeature](scsicontrollerdriverkit/scsiparallelfeature.md)
- [UserMapHBAData](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/usermaphbadata.md)
- [UserRemoveHBAProperties](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userremovehbaproperties.md)
- [UserReportHBAConstraints](scsicontrollerdriverkit/iouserscsiparallelinterfacecontroller/userreporthbaconstraints.md)
