Sm_PolicyApi_GetOneTimeUsePropFromAffiliate()
Retrieves the value of the OneTimeUse property for an assertion in a SAML 1.x affiliate.
casso126
Retrieves the value of the OneTimeUse property for an assertion in a SAML 1.x affiliate.
Syntax
int SM_EXTERN Sm_PolicyApi_GetOneTimeUsePropFromAffiliate(void*pHandle,char* pszAffiliateOID,bool &bOneTimeUse);
Parameters
- pHandle[in] A pointer to an internal Policy Management API data structure. The 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_Success. The action was completed successfully.
- Sm_PolicyApi_Failure. The action was unsuccessful.
- Sm_PolicyApi_NoSession. There was no valid initialization prior to this call.
- Sm_PolicyApi_NoPrivilege. The administrator did not have sufficient access privileges.