this is possible with external lists, I have just set it up in my lab.
Certainly you need some knowledge about your LDAP (I used AD). I did the following:
- I have my Username "andre" which is the windows logon account and stored in the sAMAccountName attribute in LDAP in the "Authentication.Username" property because I already did authentication.
- Now I create an extended list call to my LDAP Server which searches for all objects which have (sAMAccountName=Authentication.UserName) and return the LDAP object "manager". I store this in a user-defined property called "User-Defined.Manager".
Now I have the DN of my manager in the property "User-Defined.Manager".
- Now I do another call to LDAP to get my managers mali address. So this time I search for all objects which have (distinguishedName=User-Defined.Manager) and return the LDAP object "mail". I store this in a user-defined property called "User-Defined.ManagerMail".
Now I have the mail address of my manager in "User-Defined.ManagerMail".
- Now I add a rule which sends an eMail to "User-Defined.ManagerMail".
I will attach my rule set. Now that this rule set is for my test environment, it will not work for you. But hopefully you can use it to start your own rules.
2013-04-12_13-11_TEST.xml 22.0 K