getUserProperty
This function returns the property of the user. If the user does not exist, it returns null
. Use custom attributes if the desired attribute does not exist.
Signature:
ids:getUserProperty(userName, attributeName, realmName)
Arguments:
-
userName
: String or element containing the user whose attribute must be retrieved. -
attributeName
: The name of theuser
attribute.If the identity service uses the LDAP
providerType
or JAZN LDAP-based providers, configure the LDAP server to enable searching by those attributes. -
realmName
: The realm name. This is optional. If not specified, the default realm name is assumed.
Property IDs:
-
namespace-uri
:http://xmlns.oracle.com/bpel/services/IdentityService/xpath
-
namespace-prefix
:ids
For more information, see How to Select Email Addresses and Telephone Numbers Dynamically.