GrantSystemAccess()
You can use the GrantSystemAccess()
method to change a specific system role of an existing account on the CIMOM.
The GrantSystemAccess() method belongs to the IBMTS_AccountManagementService
class.
Parameters
Table 261 shows the parameters you can specify
for the GrantSystemAccess() method:
Table 261. GrantSystemAccess() parameters
|
Parameter |
Type |
Description |
| Account |
String |
Specifies the account to be modified |
| System |
String |
Defines the system whose role will be changed |
| [Role] |
String |
Defines the new role of the system in the account |
Return values
The SetPassword() method returns one of the following error codes:
- 0: The role was successfully changed.
- 2: The role was not changed.
- 5: One of the parameters was invalid.