CreateHardwareAccount() Extrinsic methods CreateOrModifyStoragePool()

You can use the CreateHardwareAccount() method to create an IBMTS2145_HardwareAccount instance. The CreateHardwareAccount() method belongs to the IBMTS2145_AccountManagementService class.

Parameters

Table 233 shows the parameters you can specify for the CreateHardwareAccount() method:

Table 233. CreateHardwareAccount() parameters
Parameter Type Description
Name String Defines the WWPN that must be identical to the UserID value
UserID String Indicates the WWPN
UserIDType Uint16 Specifies the WWPN
[Host[]] String Defines the host name

You can specify other applicable parameters, but you must set them to null; otherwise, the CreateHardwareAccount() method fails.

Return values

The CreateHardwareAccount() method returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004