I dont think there is any OOTB rule but we can use the pega authentication api to do this, just a thought.
In authentication service, we hit ldap to get the credentials. may be somehow we can manipulate to retrieve the data. But again this is security. Generally we query username and password and then we query rest of the details. I dont know how you are going to use it?