Jump to content
mgm75

Wrong Current User Name Since 15 Upgrade

Recommended Posts

mgm75    0

Ever since we updated to filemaker 15 the current user name, which always grabbed the username of the person logged into the computer, now just grabs the company name that the filemaker installed with.  SO if I got to edit preferences the name Company (which is the organization name from the install ) Is in there.  We are using active directory for security so the users do not put a password into filemaker. This is only happening on FM 15 computers and we are using the latest patches.

Any help would be appreciated as this is obviously causing major issues in our system right now.

 

thanks

Share this post


Link to post
Share on other sites

This is probably due to a VLA install configuration.

 

What does the function Get(AccountName) return?  It should return the Account Name, in this instance the Account Name from Active Directory.  User Name is not part of the process.

 

Steven

Share this post


Link to post
Share on other sites
Wim Decorte    446
18 hours ago, mgm75 said:

Any help would be appreciated as this is obviously causing major issues in our system right now.

Whatever it is that you are doing in the system with Get(UserName): change it ASAP.  It is way too easy for the user to change this value (in FM prefs, in the registry,...) so if you are branching logic - or worse making security decisions - based on that then you have a bit of a problem.  As Steven mentions: use Get(AccountName).

Short term fix: create a Windows logon script (one that fires when the users log into Windows) that takes their AD name and write it to the FM preferences in the registry.  The user can still change it though but it will save you from having to manually go and change that value.

 

Share this post


Link to post
Share on other sites

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


×

Important Information

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