added LDAP support functions

included lookup functions for administrators from an LDAP directory using the sAMAccountName and UserPrincipalName directory attributes.