Sm_PolicyApi_AddOneTimeUsePropToAffiliate()
The function adds and updates the OneTimeUse property for an assertion in a SAML 1.x affiliate.
casso127
The function adds and updates the OneTimeUse property for an assertion in a SAML 1.x affiliate.
Syntax
int SM_EXTERN Sm_PolicyApi_AddOneTimeUsePropToAffiliate(void*pHandle,char* pszAffiliateOID,bool bOneTimeUse);
Parameters
- pHandle[in] A pointer to an internal Policy Management API data structureThe structure holds information about the administrator session and the client session.
- pszAffiliateOid[in] A pointer to the OID of an existing SMAL 1.x affiliate
- bOneTimeUse[in] A Boolean value that specifies whether an assertion is used only once in this affiliate
Returns
- Sm_PolicyApi_SuccessThe action was completed successfully
- Sm_PolicyApi_FailureThe action was unsuccessful.
- Sm_PolicyApi_NoSessionNo valid initialization before this call
- Sm_PolicyApi_NoPrivilegeThe administrator did not have sufficient access privileges