Jump to content

Wrong Current User Name Since 15 Upgrade


mgm75

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

Recommended Posts

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

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This topic is 2703 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.