Most directories store their network login in an attribute named "uid" while Microsoft stores theres in "samaccountname".
Some of the stuff I do for a living. This mainly concerns working with Oracle Databases and Application Servers. Lately I picked up AWS, Azure and OCI.