To get email id of user using puma api,following steps need to be done.
in wimconfig.xml,add
<config:attributes name="mail" propertyName="ibm-primaryEmail">
<config:entityTypes>PersonAccount</config:entityTypes>
</config:attributes>
In wkplc.properties,add
standalone.ldap.attributes.mapping.ldapName=mail, title
standalone.ldap.attributes.mapping.portalName=ibm-primaryEmail, ibm-jobTitle
standalone.ldap.attributes.mapping.entityTypes=PersonAccount, Group
federated.ldap.attributes.mapping.ldapName=mail, title
federated.ldap.attributes.mapping.portalName=ibm-primaryEmail, ibm-jobTitle
federated.ldap.attributes.mapping.entityTypes=PersonAccount, Group
Run
./ConfigEngine.sh wp-update-federated-ldap-attribute-config -DWasPassword=<password>
./ConfigEngine.sh wp-update-standalone-ldap-attribute-config -DWasPassword=<password>
in wimconfig.xml,add
<config:attributes name="mail" propertyName="ibm-primaryEmail">
<config:entityTypes>PersonAccount</config:entityTypes>
</config:attributes>
In wkplc.properties,add
standalone.ldap.attributes.mapping.ldapName=mail, title
standalone.ldap.attributes.mapping.portalName=ibm-primaryEmail, ibm-jobTitle
standalone.ldap.attributes.mapping.entityTypes=PersonAccount, Group
federated.ldap.attributes.mapping.ldapName=mail, title
federated.ldap.attributes.mapping.portalName=ibm-primaryEmail, ibm-jobTitle
federated.ldap.attributes.mapping.entityTypes=PersonAccount, Group
Run
./ConfigEngine.sh wp-update-federated-ldap-attribute-config -DWasPassword=<password>
./ConfigEngine.sh wp-update-standalone-ldap-attribute-config -DWasPassword=<password>