Link to home
Start Free TrialLog in
Avatar of Max Hersey
Max HerseyFlag for Canada

asked on

Access Forms & Office 365 Login information

Does anyone know how to make an access form auto populate on the form the name of who is logged into office 365? My goal is to have access forms on my Sharepoint website for my staff to fill out but whenever they fill out a form, it needs to pull their login in name for verification on who filled out the form.

Thanks!

max
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The Environ() function brings back the user name logged into the PC which is not necessarily the user logged into O365
It is possible from either the command prompt or a batch script
Well i must admit this is an interesting case ...although i haven't ever seen an example of how this is done.....i will take a look....but i guess for 99,9% of the cases the simple Environ should be just fine.
UPDATE: Well i did my digging and it seems that Environ is "weak" (if a specific action is taken)  ..which is problematic if we are dealing with sensitive cases...but is not useless...maybe its a good idea to use both methods (under the hood) and always compare the output of them...if for any reason you got different outputs then you could always use that to nail users with "ambitions"