Sm_PolicyApi_RemoveAttributeFromSAMLScheme()
Removes a configured attribute from a SAML authentication scheme.
sm1252sp1
Removes a configured attribute from a SAML authentication scheme.
Syntax
int SM_EXTERN Sm_PolicyApi_RemoveAttributeFromSAMLScheme(void*pHandle,const Sm_PolicyApi_Scheme_t* pstructScheme,const Sm_PolicyApi_SAMLRequesterAttr_t*pAttr);
Parameter | I/O | Description |
pHandle
| I | A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session. |
pstructScheme
| I | A pointer to a completely filled-in scheme structure. |
pAttr
| I | A pointer to the Sm_PolicyApi_SAMLRequesterAttr_t structure containng the attribute to be removed. |
Returns
- Sm_PolicyApi_Success. The attribute was removed successfully.
- Sm_PolicyApi_Failure. The attribute was not removed 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 remove an attribute to a SAML Requester.
- Sm_PolicyApi_SAMLIDP_IncorrectParameters. Supplied SAML provided properties are incomplete or incorrect.
- Sm_PolicyApi_NoSuchAttribute. An attribute with a matching Name and NameFormat does not exist.