Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

accessing NT User name

Featured Replies

Does anyone know of a way to determine and access the current user's NT user name from within FileMaker?

I am glad to see that external authentication is possible but I need to know exactly who is making changes without having to enter every NT user name into the database.

You could use the usrstat or whoami terminal commands to output the current user info. You could pipe this information into a file and then import the results into your database.

To make it easier you could use the free shell plugin from abstrakt.com to return the results of this or any other shell command to a database field.

If you use External Authentication, the Get(AccountName) function will get you the user's Windows logon name.

If you're not using EA, then you'll need a VBscript or batch file to write the logon name to a little text file and import it into FM.

I explained how in an Advisor article last year and I believe there's also a demo file on my website (www.connectingdata.com)

HTH

Wim

  • Author

Thanks!

It is very good news that Get(AccountName) returns the NT Username.

As we are plannign on using Server Advanced this is the best solution

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.