CLI SAML 2.0 Service Provider Attribute Methods
Contents
casso126
Contents
GetAttrNameFormat Method Retrieves Format of Attribute Names
The GetAttrNameFormat method retrieves the format of attribute names used with the SAML 2.0 Service Provider. For more information about SAML 2.0 attributes, see the method PolicyMgtSAMLServiceProvider>AddAttribute.
Syntax
The GetAttrNameFormat method has the following format:
Netegrity::PolicyMgtSAMLSPAttr->GetAttrNameFormat()
Parameters
The GetAttrNameFormat method accepts no parameters.
Return Value
The GetAttrNameFormat method returns one of the following values:
- SAMLSP_UNSPECIFIED (value = 0)
- SAMLSP_URI (value = 1)
- SAMLSP_BASIC (value = 2)
GetValue Method Retrieves Service Provider Attribute Value
The GetValue method retrieves the value of the SAML 2.0 Service Provider attribute. To retrieve all attributes associated with a Service Provider, call the method PolicyMgtSAMLServiceProvider->GetAllAttributes. For more information about SAML 2.0 attributes, see the method PolicyMgtSAMLServiceProvider>AddAttribute.
Syntax
The GetValue method has the following format:
Netegrity::PolicyMgtSAMLSPAttr->GetValue()
Parameters
The GetValue method accepts no parameters.
Return Value
The GetValue method returns one of the following values:
- Service_Provider_attribute_value
- undefif the call is unsuccessful