June 10, 201114 yr 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
June 10, 201114 yr 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
June 12, 201114 yr 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.
Create an account or sign in to comment