‎27-02-2023 12:00 PM
Hello,
We work with HOPEX V4 CP7. In this version, the report of profiles permissions doesn't work. It will be corrected in HOPEX V5.
As we plan to migrate in HOPEX V5 in several months, we would like to write a VB Script to list CRUD persmissions. Is it possible ? Do you have un example ?
I thank you for advance.
‎07-03-2023 12:22 PM - edited ‎07-03-2023 12:23 PM
There was a typo error in my message
it is obj.CallFunction("~R2mHVReGFP46[WFQuery]", "CRUD")); not CallFunctionString
‎07-03-2023 12:00 PM
Hello,
I try the code below in script editor :
obj=GetObjectFromId("~KekPBSs3iS10[Diagramme]")
obj.CallFunctionString "~R2mHVReGFP46[WFQuery]", "CRUD"
But i have this error :
Script Editor Default : Microsoft VBScript runtime error line 3, offset 1 :
Error(0x800a01b6) : Object doesn't support this property or method: 'obj.CallFunctionString'
The object WFQuery seems not to exist in HOPEX V4CP7 (see screen shot).
I thank you for your help.
‎07-03-2023 10:53 AM - edited ‎07-03-2023 12:21 PM
Hello,
You can try this method :
obj.CallFunction("~R2mHVReGFP46[WFQuery]", "CRUD"));