hello everybody,
Do you have any idea how to limit a SBuser to only 1 (or n) open session ?
many thanks
Page 1 / 1
hello everybody,
Do you have any idea how to limit a SBuser to only 1 (or n) open session ?
many thanks
Do you have any idea how to limit a SBuser to only 1 (or n) open session ?
many thanks
You could write your own routine to do this either before or after SB.LOGIN using the following information.
DMCONT SB.ACCOUNTS
<2.mv> - SB User Name
<7.mv> - OS User Name
DMSECURITY $PASS:Port
<7> contains the SB user name
Before SB.LOGIN (In the LOGIN Proc)
- Add a program in the LOGIN proc before SB.LOGIN is executed
- Read DMCONT SB.ACCOUNTS and count the number of times the OS user name is found in attribute 7
After SB.LOGIN (Could be done in any number of different process slots)
1. Do the same as before the using either the SB user name or OS user name
2. SELECT DMSECURITY WITH Field7 = "SBUserName" and the return value will tell you how many sessions that SB user currently has running
Let me know if you have any questions
Thanks
Stuart
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.