In VLF-ONE the framework manager has an avCheckAvailibity method to check if the user has access to a particular object.
I am looking for a way to check if the user has access to a specific Command in that object.
Is there anyway to use avCheckAvailablity with Commands?
The docs here https://docs.lansa.com/14/en/lansa048/c ... 8_2570.htm show doing this with VLF-WIN which is exactly what I need.
Joe
VLF-ONE Check Availability to Command in custom Instance List
Re: VLF-ONE Check Availability to Command in custom Instance List
I think you should be able to check access to a command reference by using the User Object Name Type of the command reference
#AVFRAMEWORKMANAGER.avCheckAvailability Userobjectname(PEOPLE_DETAILS) Isavailable(#myreturnCode)
Note its NOT the user object name type of the command definition.
#AVFRAMEWORKMANAGER.avCheckAvailability Userobjectname(PEOPLE_DETAILS) Isavailable(#myreturnCode)
Note its NOT the user object name type of the command definition.
Re: VLF-ONE Check Availability to Command in custom Instance List
Ahh, I forgot about that user/object type name.
Will give that a go.
Thanks,
Joe
Will give that a go.
Thanks,
Joe