ActiveDirectory Integration: Get user related information other than username, groups

In our organization’s AD setup, the authentication happens with EmpID and so the username parameter available in the Rshiny environment cannot be used to display within the app. Is there a way to get additional user information from AD (Full Name, Department, etc.) and periodically verify if the user is still part of the organization?

Thank you.