All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
Title: RE: [MEDITECH-L] See who is logged on to PC from Meditech
Hi Al,
Here is something that might work for you:
1) Create an NPR report with just a Report Title and the Active field set to Y. You can then just file and translate it.
2) Create a macro called menu with the following code:
IF{%Z.authenticate.M.network.user("")[EMAIL PROTECTED];
@W.err("You are not the correct user! Please press
<Enter>"),
%Z.menu.exit(0)},
"MENU TITLE";
You can replace "MENU TITLE" with whatever free text you like to use as your Menu title.
3) File and translate the macro.
4) Add the following as the Menu title in the NPR Ener/Edit Menu routine: "_%DPM.zcus.report.M.menu(0)_"
Replace DPM with your Report's DPM and report with the name of your report. File and translate your menu. This should work for Numeric menus but probably not for Desktop/Icon menus.
When your end-user signs on to the Meditech application with that menu, the macro will run.
Z.authenticate.M.network.user returns the NT user. If it is not the same as the current Meditech user, then the user is automatically exited from the Meditech system.
Please let me know if you have any questions.
Good luck,
Brian Schmit
Sr. Programmer,
Picis
Direct: 781 557 3315
Fax:
781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com
Please visit http://www.picis.com/services/technical/npr.asp# for additional information about our NPR Report Writing Trainings.
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access or use by any other person to this internet email is not authorized and may be unlawful. If you are not the intended recipient, please delete or destroy this email. If you do not wish to receive future emails from the sender, please reply directly to this email requesting you be removed from any mailing list.
From: [EMAIL PROTECTED] on behalf of LaForge, Michael
Sent: Fri 10/6/2006 8:23 AM
To: '[email protected]'
Subject: RE: [MEDITECH-L] See who is logged on to PC from Meditech
All messages should be posted in plain text. HTML will be
converted to
attachments. The meditech-l web site is
MTUsers.com
======================================
To solve this
problem we have incorporated the WinExit screensaver to our
base Windows
installs. We then set a policy for all users to have the
screensaver
activate at 15 minutes with a 2 minute countdown warning for a
total of 17
minutes. If no action is taken at that time, the system logs
off of
Windows. You can adjust via policy the timings and the logoff
warning
message. Just be sure that the users are restricted from running
the
display control panel (user should be restricted from any control panel
app
anyway) or they can change screensaver and prevent the
logoff.
________________________________
Michael
LaForge
Network Administrator
Columbia Memorial
Hospital
518.828.8030 Fax:
518.828.8370
-----Original Message-----
From: Cardenas, Al [mailto:[EMAIL PROTECTED]]
Sent:
Thursday, October 05, 2006 3:36 PM
To: [email protected]
Subject:
[MEDITECH-L] See who is logged on to PC from Meditech
All messages should
be posted in plain text. HTML will be converted
to
attachments. The meditech-l web site is
MTUsers.com
======================================
_______________________________________________
meditech-l
mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l
_______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
