AssignAccess() Extrinsic methods AttachDevice()

You can use the AssignAccess() method to create a temporary IBM2145_AccessControlInformation instance that contains the IBM2145_AuthorizationSubject, IBM2145_AuthorizationTarget, IBMTS2145_HostedACI, and IBMTS2145_AuthorizedUse associations in the CIMOM repository. The AssignAccess() method belongs to the IBMTS2145_AuthorizationService class.

Parameters

Table 229 shows the parameters you can specify for the AssignAccess() method:

Table 229. AssignAccess() 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 AssignAccess() method returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004