Sm_PolicyApi_GetAllSAMLSchemeAttributes()
Returns a linked list of all attributes defined for a SAML Requester.
casso127
Returns a linked list of all attributes defined for a SAML Requester.
Syntax
int SM_EXTERN Sm_PolicyApi_AddAttributeToSAMLScheme(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
| O | A pointer that will be assigned to the first Sm_PolicyApi_SAMLRequesterAttr_t structure in the returned list of attributes. |
Returns
- Sm_PolicyApi_Success. The SAML Requester attributes were returned successfully.
- Sm_PolicyApi_Failure. The SAML Requester attributes were not returned 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 obtain SAML Requester attributes.
- Sm_PolicyApi_SAMLIDP_IncorrectParameters. Supplied SAML provided properties are incomplete or incorrect.
- Sm_PolicyApi_DuplicateAttribute. An attribute already exists with the same Name and NameFormat.