Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7362 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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

This topic is 7362 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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