Sm_PolicyApi_ManagementCommand()
Performs user, key, and resource management activities.
casso126
Performs user, key, and resource management activities.
The Policy Management API supports the types of management commands that are enumerated in Sm_PolicyApi_ManagementCommands_t.
Type
Utility function.
Syntax
int SM_EXTERN Sm_PolicyApi_ManagementCommand (void*pSessionHandle,Sm_PolicyApi_ManagementCommand_t*pstructManagementCommand);
Parameter | I/O | Description |
pSessionHandle
| I | A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session. |
pstructManagementCommand
| I | The address of a pointer to a management command structure. |
Returns
- Sm_PolicyApi_Success. The management command was issued successfully.
- Sm_PolicyApi_Failure. The management command was not issued successfully.
- Sm_PolicyApi_InvalidHandle. There was no valid initialization prior to this call.
- Sm_PolicyApi_NoSession. There is no valid administrator session.
- Sm_PolicyApi_NoPrivilege. The administrator does not have the privilege to call Sm_PolicyApi_ManagementCommand().
- Sm_PolicyApi_Invalid. An invalid management command was specified.