Retrieve User Name (If Not Using Atrium)
-
- New User
- Posts: 3
- Joined: Sun May 08, 2011 7:57 am
- First Name: Brad
- Last Name: Sprehn
- Company Name: Peerless Chain Company
- Contact:
Retrieve User Name (If Not Using Atrium)
Is there a way to tell what User is running the program if you do not use Atrium? If so, how.
-
- Profound User
- Posts: 27
- Joined: Thu Dec 02, 2010 1:27 pm
- First Name: Greg
- Last Name: Sears
- Company Name: Profound Logic
- Phone: 937-439-7925
- Address 1: 562 Congress Park
- City: Dayton
- State / Province: Ohio
- Zip / Postal Code: 45459
- Country: United States
- Contact:
Re: Retrieve User Name (If Not Using Atrium)
SDS positions 254-263 will give you the wrong user profile in a web environment. This is the “job start” user profile which is always QTMHHTTP on the web. What you’ll want to use is positions 358-367. This is the “current user profile” of the job which will give you who signed in.
If using the RTVJOBA command, try using the CURUSER parameter instead of the USER
parameter. This will make it work properly for you.
The 2 user profiles are always the same in a green-screen session, but always different on the web. Using “current user” will work in the green-screen, too.
D PSDS SDS
D JobStartUser 254 263A
D CurrentUser 358 367A
If using the RTVJOBA command, try using the CURUSER parameter instead of the USER
parameter. This will make it work properly for you.
The 2 user profiles are always the same in a green-screen session, but always different on the web. Using “current user” will work in the green-screen, too.
D PSDS SDS
D JobStartUser 254 263A
D CurrentUser 358 367A
-
- New User
- Posts: 3
- Joined: Sun May 08, 2011 7:57 am
- First Name: Brad
- Last Name: Sprehn
- Company Name: Peerless Chain Company
- Contact:
Re: Retrieve User Name (If Not Using Atrium)
Thanks, that worked.
Who is online
Users browsing this forum: No registered users and 1 guest