MS Access VBA find login user Part 2 : I did my HW to find how get user login (AD not Admin db) for Access db using VBA, but i'm not sure why I don't see my function in Builder
I define function like in [enter link description here][1]

But somehow I can not see this function in my builder. What I'm missing.  I plan to use this function to fill invisible txtBox in my form and log it into db. I'm on Office 2010. Sorry if I missed some basics, coiuld not find anywhere compele demo how to define and call function. Tx all

        Public Function GetUser(Optional whatpart = "username")
            Dim returnthis As String
            If whatpart = "username" Then GetUser = Environ("USERNAME"): Exit Function
            Set objSysInfo = CreateObject("ADSystemInfo")
            Set objUser = GetObject("LDAP://" & objSysInfo.USERNAME)
            Select Case whatpart
                Case "fullname": returnthis = objUser.FullName
                Case "firstname", "givenname": returnthis = objUser.givenName
                Case "lastname": returnthis = objUser.LastName
                Case Else: returnthis = Environ("USERNAME")
            End Select
            GetUser = returnthis
        End Function

[![enter image description here][2]][2]


  [1]: https://stackoverflow.com/questions/9052/is-there-a-way-for-ms-access-to-grab-the-current-active-directory-user
  [2]: https://i.stack.imgur.com/XUOik.png