• Познакомьтесь с пентестом веб-приложений на практике в нашем новом бесплатном курсе

    «Анализ защищенности веб-приложений»

    🔥 Записаться бесплатно!

  • CTF с учебными материалами Codeby Games

    Обучение кибербезопасности в игровой форме. Более 200 заданий по Active Directory, OSINT, PWN, Веб, Стеганографии, Реверс-инжинирингу, Форензике и Криптографии. Школа CTF с бесплатными курсами по всем категориям.

@findfreeresource

  • Автор темы Shandrik
  • Дата начала
S

Shandrik

Попросили допилить базу "Резервирования". Надо добавить в поиск ещё один параметр. Обнаружил, что поиск спрятан в недокументированной функции @FindFreeResource.

Keyarg:="CN=*/"+"O="+Site;
ResNameCheck:=@FindFreeResource(Keyarg;ResourceType;StartDateTime;EndDateTime;tmpCapacity;9999;[]);

Что там последним параметром? Какие вообще особенности работы с ней?
 
Последнее редактирование:

savl

Lotus Team
28.10.2011
2 597
310
BIT
159
Все что нашел, параметр после 9999, наверное для служебных слов, но описания нет
n the form of the Designer Help:
Syntax
@ Find free resource ( key , resource type , start datetime ; EndDateTime ; capacity ; results )
Parameter
T
Text. If, in canonical form whether you wish to receive from all the
resources of a site (Site) or only in certain categories of results. "CN=* / O = Berlin" is looking for all the resources of the site "Berlin",
"CN =* / OU = Projector / O = Berlin" only searches the category of resources "Beamer" the location "Berlin".
Resource Type
Text. "1" is looking for spaces, "2" in resources.
StartDateTime
Time / date. Beginning of the desired reservation.
EndDateTime
Time / date. End of the desired reservation.
Capacity
Sets number at room reservation ( resource-type "1") set the minimum
required capacity.
Results
Number Specifies the maximum number of hits, which may return the function.

Return Value
Resource name
Text or text list. The names of the criteria according to resources found in canonical form. If more results displayed as a connected set
will, as resources are the preferred whose capacity is closer to the capacity lie.
If no relevant resources found with the criteria it is evaluated to an empty string "back".
 
  • Нравится
Реакции: Shandrik
S

Shandrik

> n the form of the Designer Help:

Это из хелпа что ли? Я не нашел.
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!