Hello,
Here is how I would suggest you might do this. First, a few assumption:
- Your user are using PC5250 emulation
- When they are connected through VPN, they are using a different range of IP address that is known to you
Here are the steps
- Using RTVJOBA, you can extract the name of the device used by your user
- Then, in the device description, you can extract (probably with an API) the IP address of that device
- You check that IP address to see if it is the address of a VPN connection
That is how I would tackle this problem
Hope this help
Denis Robitaille
Chef de service TI - Solution d'entreprise
Infrastructure et opérations
CASCADES CENTRE DES TECHNOLOGIES
412 Marie Victorin
Kingsey falls(Québec) Canada J0A 1B0
Tél : 819 363 6100 Poste :52130
Cell : 819 352 9362
-----Message d'origine-----
De : MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Jan Grove Vejlstrup
Envoyé : 11 avril 2017 08:22
À : Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Objet : User working from home or office
Hello,
I want to check if a user is working from home or is signed on from one of the offices. We have several offices that are connected to the IBM i with VPNs.
Is this possible? If yes, how could I do it?
Best regards
Jan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.