Sm_PolicyApi_SetSharedSecretPolicy()
Sets the current SharedSecretPolicy. There will always be exactly one such object, so it is not necessary to provide the bUpdate boolean flag.
casso10
Sets the current SharedSecretPolicy. There will always be exactly one such object, so it is not necessary to provide the bUpdate boolean flag.
Type
Agent configuration.
Syntax
int SM_EXTERN Sm_PolicyApi_SetSharedSecretPolicy (void*pSessionHandle,Sm_PolicyApi_SharedSecretPolicy_t*ppstructSecretPolicy);
Parameter | I/O | Description |
pSessionHandle
| I | The current Policy API session handle. |
ppstructSecret
Policy
| I/O | The shared secret policy structure. |
Returns
- Sm_PolicyApi_Success. The operation was successful.
- Sm_PolicyApi_Failure. Generalized failure.
- Sm_PolicyApi_InvalidHandle. The session handle was invalid.
- Sm_PolicyApi_NoSession. The user is not logged in.
- Sm_PolicyApi_NoPrivilege. User does not have rights to manage objects.