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.

Get REAL User name via external authentication

Featured Replies

Hello

Is there a way to get the User name of logged in User with external authentication?

Get( AccountName ) = PC Account

Get( UserName ) = Filemaker Preference Name

Get B) = REAL logged in User

Thanks for your help!

Ron

The Account Name should be the real Account for the user. How were the accounts set up?

Steven

  • Author

Well, not with me.

I've got two identically setup AD accounts (with exception of the First name). One account always loges in like expected with e.g. JohnMiller and the other Mark Miller (with space). This is upsetting my preference DB when retrieving the Users Profile.

This only occurs when the Users PC (Windows) has got the Network login info (AD Info) entered in they’re User account settings on the PC.

Is this a Bug?

Best regards

Ron

Well first, I'd use a standardized and uniform structure for my AD Account names. jsmith or mmiller or tsmith or what ever.

Get(AccountName) from within FileMaker Pro will return that string if that is the Account from AD used to authenticate to the domain at log-on.

If External Server Authentication is employed, then that is the credential that FileMaker Server will use to authenticate the user.

What problem is it exactly that you are having here? Will the user not authenticate with the AD credentials? What OS is running on FIleMaker Server's machine?

There is additional information about this in the External Server Authentication Tech Brief from FileMaker, Inc.

Steven

it sounds from what you're explaining that the "bug" might not be in retrieving the account name or the user name from the FM prefs, but in what you do with it. FM faithfully gets the account name from the windows login. No bug there. The user name gets retrieved from the registry, no bug there either.

What is it you're doing with the data you get in your user table?

  • Author

I need to know the User name logged in. Not Windows login nor FM preference User name. Does Filemaker not do this???

I use a uniform structure for the AD's.

The user is not logged in a Domain. Only uses shares and printers on the Server, so the user Settings are stored with his account on the Windows Box. But even changing the Windows Username... no chance. Still the same occurrence!

Ron

I need to know the User name logged in. Not Windows login nor FM preference User name. Does Filemaker not do this???

On the Windows platform, when using External Server Authentication, the name under which a user access the database is the same credential Account name used to log on to Windows network. To override this, the user should hold down the SHIFT key when accessing FileMaker Server. This will produce the credential dialog box. At that time the user can enter other credentials that can be authenticated either internally by FileMaker Pro or externally by FileMaker Server.

Steven

Create an account or sign in to comment

Important Information

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

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.