mrc logo mrc logo
  • m-Power m-Power
    What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • Solutions Solutions
    What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the web MS Access to the web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs and Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Services Services
    Development Services Training Mentoring
  • About About
    Overview Partners Press Releases Careers Events Contact Blog
  • Support Support
    Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • Security
  • Auditing m-Power Login Activity
Back to Manual

Auditing m-Power Login Activity

m-Power developers have the ability to log end-user activity for signon/signoff of generated applications. This functionality is quite useful for a number of reasons, including:

  • Logging which users have accessed their account, when and at what time.
  • Logging which application a user has accessed.
  • Logging how long someone stays active before they sign off.
  • Capturing various components of a user’s information, including their IP address.

To configure, install the mrcSignon2 logic into your data dictionary. Next, modify this tag:

<callrpg aftersignon="SIGNON"  beforesignoff="SIGNOFF" rpglocal="0″ /> to
<callrpg aftersignon="NAME_OF_SIGNON_PGM"  beforesignoff="NAME_OF_SIGNOFF_PGM" rpglocal="1″ />

Notice that, by default, rpglocal is set to 0. This indicates that the ability to log user activity has been disabled. Please set this value to 1 to activate this functionality.

When a user signs on, m-Power will immediately call the program referenced at the aftersignon=”” value. Conversely, when a user signs out, m-Power will immediately call the program referenced at the beforesignoff value. To utilize this functionality, you do not need to utilize both values.

Note: Since auditing needs are vastly different with each client, m-Power does not ship any auditing programs. Instead, these procedures need to be created and customized by each client. Auditing programs should be written in SQL. If you are not familiar with the syntax of an SQL procedure, please click here for a sample SQL program. Alternatively, our m-Power experts would be more than happy to create the necessary programs for you, on an hourly basis.

By default, both the signon and signoff procedures accept two values: a User ID parameter and a Session ID parameter. These values are automatically passed from m-Power to the applicable procedure. However, if you wish to have even more flexibility within your auditing, add this line of code directly after the <callrpg> tag:
<parms_to_SIGNON value=" " />
This tag allows you to pass additional values directly to the auditing programs. Available options are as follows:

  • userId – User Name used by user to log in.
  • sessionId – User’s current session ID
  • remoteIp – The IP address of the client’s broswer
  • remoteUrl – The URL the client utilized to access the Sign on page.

You can utilize any combination of the above parameters. Be sure to separate them with a “;”. Additionally, be sure that the parameters you are passing are in the same order as they are referenced in your external procedure.

Verify the accuracy of your program by examining the table referenced in your external procedure to determine if signon/signoff activity is being logged.

Created: August 20, 2012 | Modified: June 12, 2017

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Calculations Production Dates Compiling App Properties Build Process Graphing Tomcat Freemarker Maintainer DB2 Video Graph Properties Database Graphs Prompt Screens Advanced Email mrc-Productivity Series RPG Performance Popular m-Painter Maintainers Data Dictionary External Objects Parameters Report SQL Java Form Validation Reports Bar Graphs Dropdowns Retrievals Excel Admin Bootstrap Templates Application Properties Retrieval Summaries Getting Started Security Record Selections Administration

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© 2024 mrc. All rights reserved.