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.

Featured Replies

Hi All.

 

I was interested in implementing a user log in/out function into my database that would bypass the built-in security system, but I've come to realize the standard FM security system is the way to go. However, I want to track my user activity to some degree. Currently, upon log in, a new record is created in a "sessions" table which assigns a "session ID" and time/date stamps the log in, and stamps the user ID as well (get user function). In various tables the user can add new records, in which their user ID (a field with a get user function) is stamped. I want to be able to view all the record creating activity a user has. I believe it can be done, but I'm curious as to how it will work as the user information is stored within the built-in FM security options.

 

Thoughts? Thanks!

Instead of "User" which can be easily changed and manipulated, i'd recommend you utilize the Get(AccountName) function instead.  It is tied to a specific password and the user must know that password in order to be able to log into the system.

 

Steven

I would take Steven's advice one step further. Since Account Names can change, I usually grab the User's ID into a $$var and stamp that. Find in the User table in an Open script using Get(AccountName) and then set the $$var. Don't forget to handle more than one record or no records found.

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.