FM - Get Functions for Computer Name/IP Address?

rvfowler2
rvfowler2 used Ask the Experts™
on
In Filemaker, are there Get functions are some other way to identify the computer name and/or ip address?  I don't see them.  Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
North2AlaskaSenior Engineer

Commented:
When editing a calculation, on the right hand side there is a list of functions.  Above the list is a popup that allows you to select the GET functions.

Author

Commented:
Yes, I went to these list of Get functions, but don't see a GetIPaddress for the local machine, just GetHostIPaddress.
President, Dedication Technologies, Inc.
Commented:
Get( AccountName ) will give you the Login name of the current user

Get( UserName ) will give you either the name of the current Windows or Macintosh Account Name, OR, if the user has entered something in the "Other:" field in FileMaker's "User Name" preferences it will show that.

Get( SystemIPAddress ) will get you the local computers IP

Get( HostIPAddress ) will get you the IP address of a connected server running FMS )
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Author

Commented:
Thanks, Will, Get( SystemIPAddress ) was what I was looking for.  We have various printers in our office and my printer scripts send one's print jobs to their closest printer.  These have been hardcoded before, but not that I've entered everyone's IP address into the employee table, I can use the Get( SystemIPAddress ) to identify the person dynamically and send them to the correct printer.  (I like IP address rather than username because every so often, someone goes to another PC to do their work.)
Will LovingPresident, Dedication Technologies, Inc.

Commented:
Two other ways of identifying a unique user are:

1) Get ( SystemNICAddress ) which get the unique address of the Ethernet port

2) Get ( DesktopPath ) which can be used with the PatternCount() function to look for the volume name (useful on a Mac) or a specific user account.

Author

Commented:
Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial