1. The service account username attribute depends on the directory system (Active Directory, OpenLDAP etc).
2. For example, Active Directory(AD) uses distinguishedName or the user logon name (userPrincipalName) attribute to store the service account username attribute.