My request is about how can I search for AE objects like, Jobs, Logins, Users, Groups, Workflows, etc. with the AE Script language, like in the UI. I what to use search patterns like:There is a JavaAPI Class "SearchObject" that should perform this task, but I don't think there is a script command / function that would allow you to do this.
- type=Folder AND DOTNET_*
As return value it would be great to have the object itself otherwise it would be ok to have the name of the object.
You may also use a VARA.SQLI and couple it with a SCRI to define the search parameters.
Here is a short example:
:SET &HND# = PREP_PROCESS_VAR(VARA.SQLI.SEARCH)
: SET &RESULT# = GET_PROCESS_LINE(&HND#,1)
: P &RESULT#
AND OH_Name LIKE '%&NAME#%'
Of course it can be enhanced - it does not allow you to specify the client or select all object types - but it was just to give you guidelines on how this could be achieved.