Wednesday, March 11, 2015

Oracle SOA BPM Retrieve ldap user properties using expression.

If you want to retrieve ldap user properties like email, first name , last name etc, SOA suite provides Identity service functions to retrieve the same. The ldap is the security provider configured in weblogic server- Security realms.

You can retrieve some the properties below :

  1.    name
  2.    displayName
  3.    description
  4.    firstName
  5.    middleName
  6.    lastName
  7.    workNumber
  8.    homePhone
  9.    mobile
  10.    pager
  11.    fax
  12.    email
  13.    im
  14.    title



To use it in Jdeveloper use assign activity, select Expression Builder.






You can use the getUserproperty expression as below :


ids:getUserProperty($inputVariable.payload/ns3:userId,'lastName','jazn.com')
ids:getUserProperty($inputVariable.payload/ns3:userId,'name','jazn.com')
ids:getUserProperty($inputVariable.payload/ns3:userId,'title','jazn.com')
ids:getUserProperty($inputVariable.payload/ns3:userId,'email','jazn.com')
ids:getUserProperty($inputVariable.payload/ns3:userId,'firstName','jazn.com')








No comments:

Post a Comment