I have a Grid Edit app that I want to make view-only for a specific user group. I see the example for using a Startup program, but how do I refer a group rather than a specific user?
Thanks,
Behyar
pic.png
Thanks,
Behyar
pic.png
// MY_GROUP_ID contains the unique group id that you want to check for.... // VVGROUPS contains this information in case you need to retrieve the group id... // exec sql select vvGrpId into: MY_GROUP_ID from vvGroups where vvGrpName = 'SOME_GROUP_NAME'; if not (vvSecure_isMember(MY_GROUP_ID:gUserId){ disableFeature('SOME_FEATURE'); }
Comment