× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

restrict users not to access all application

  • join2arun
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 1 month ago - 9 years 1 month ago #16886 by join2arun
Dear All,

Need your help on how to restrict particular user not to access all application.

My scenario is - in Account application i have local ref field which is having value 'YES' or 'NO'
When account with local.ref.field is YES in account application . when user try to use any application with this account number then it should
restrict being used that application. how can i acheive this?

Please help on this its quite urgent.

Regards,
Last edit: 9 years 1 month ago by join2arun.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • TAFj-R20 - 'unix'
More
9 years 1 month ago #16888 by jpb
Try creating a USER.SMS.GROUP where you define all applications/versions you want to restrict
and set
FIELD.NO = ACCOUNT>your.local.field
DATA.COMPARISON = NE
DATA.FROM = YES
for each.

Attach this USG to all USERs in question.

Please Log in or Create an account to join the conversation.

  • join2arun
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 1 month ago #16889 by join2arun
Replied by join2arun on topic restrict users not to access all application
Thanks JPB for your prompt reply.

Regards

Please Log in or Create an account to join the conversation.

  • join2arun
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 1 month ago #16890 by join2arun
Replied by join2arun on topic restrict users not to access all application
Hi JPB,

I tried creating user sms group, but when in input AC or viwed using AC its working.
My requirement is if i do FT or if i use statement enquiry using the ACCOUNT which is having value 'YES' is not working.


SMS.GROUP.ID...... TEST1
1. 1 GB DESCRIPTION. TEST
2. 1 APPLICATION.... ALL.PG
3. 1 VERSION........
4. 1 FUNCTION....... A 2 B C D E F H I L P R S V
5. 1 FIEL ACCOUNT>LAC
6. 1 DATA.COMPARISON NE
7. 1 DATA YES
8. 1 DATA
9. 1 TEMP.FUNCTION..
10. 1 START.DATE.....
11. 1 END.DATE.......
12. 1 ALLOWED.DAYS...
13. 1. 1 DAY.ST.TIME.
14. 1. 1 DAY.END.TIME
15 RESERVED.7........
16 RESERVED.6........

this is my setup.

how to restrict for other applications also

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • TAFj-R20 - 'unix'
More
9 years 1 month ago #16891 by jpb
We use something alike with a field in CUSTOMER and it works for all applications where CUSTOMER is internally used. For those where CUSTOMER is not read we defined I-descriptors (e.g. in SEC.ACC.MASTER and ACCOUNT) that reflect the field from CUSTOMER.
But we defined each application separately in the USG, so e.g.
APPLICATION = FUNDS.TRANSFER
FIEL = ACCOUNT>LAC
DATA.COMPARISON = NE
DATA.FROM = YES

The 'trick' with an I-descriptor on CUSTOMER or other application may also work if all accounts have the same LAC . . .

Please Log in or Create an account to join the conversation.

  • join2arun
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 1 month ago - 9 years 1 month ago #16927 by join2arun
Replied by join2arun on topic restrict users not to access all application
Thanks a lot JPB. Its worked. Once again Thanks a lot.
Last edit: 9 years 1 month ago by join2arun.

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds