Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi,

with get(username) or get(accountname) I can get at a username or accountname that is used to access filemaker.

That however does not allow me to see the Windows login Name of a user that the user used to log into windows in the firstplace.

Sure I could write that name into the prefs of Filemaker of the user but a user can modify that so I dont wanto use that option.

Is there a way in a script in Filemaker to get to the Windows Login name that a user is logged into the Computer with?

Thanks,

Spongebob

Posted

Hi,

with get(username) or get(accountname) I can get at a username or accountname that is used to access filemaker.

That however does not allow me to see the Windows login Name of a user that the user used to log into windows in the firstplace.

Sure I could write that name into the prefs of Filemaker of the user but a user can modify that so I dont wanto use that option.

Is there a way in a script in Filemaker to get to the Windows Login name that a user is logged into the Computer with?

Thanks,

Spongebob

If the Account is authenticated externally, then Get(AccountName) will return the domain or local security group Account name. Since, however, you authenticated against the FIleMAker Pro file, it returns that Account name.

Steven

Posted

Thanks Steven; I thought that was the answer but just wanted to be sure.

Posted

Is there a way in a script in Filemaker to get to the Windows Login name that a user is logged into the Computer with?

If the user is not externally authenticated through FMS then you can still make it work by using a Windows login script that takes the user's windows login name and writes it to the FMP registry section where it reads the get(username) from. You have to do that before FMP is launched because FMP captures that value only when it starts up.

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