spongebob Posted June 10, 2011 Posted June 10, 2011 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
Steven H. Blackwell Posted June 10, 2011 Posted June 10, 2011 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
spongebob Posted June 10, 2011 Author Posted June 10, 2011 Thanks Steven; I thought that was the answer but just wanted to be sure.
Wim Decorte Posted June 12, 2011 Posted June 12, 2011 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now