RemoveAccess()
You can use the RemoveAccess()
method to delete a temporary IBM2145_AccessControlInformation instance and
its associations. The RemoveAccess() method belongs to the IBMTS2145_AuthorizationService
class.
Parameters
Table 269 shows the parameters you can specify for
the RemoveAccess() method:
Table 269. RemoveAccess() parameters
|
Parameter |
Type |
Description |
| Subject |
|
Defines the IBMTS2145_HardwareAccount instance that
is in the same IBMTS2145_Cluster as the IBMTS2145_AuthorizationService instance |
| AccessRights |
|
Defines the level of access authority |
| Target |
|
Defines the IBMTS2145_Controller instance with the AuthorizationTarget
parameter set to true that is in the same IBMTS2145_Cluster as
the IBMTS2145_AuthorizationService instance |
Return values
The RemoveAccess() method returns one of the following error codes:
- 0: All instances were successfully deleted.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The subject parameter is not associated with the ACI.
- 0x8001: The access rights are not of type IBMTS2145_AccessControlInformation
or belong to a different cluster than service.
- 0x8002: The target is not associated with the ACI or has volumes attached
to it.
- 0x8100: One of the parameters was out of the cluster scope.