Function EN Version 1.93

@ExpandGroups

List Misc NotesAdmin Text

Syntax

@ExpandGroups(TEXT1;TEXTLIST2);
@ExpandGroups(TEXTLIST1;TEXTLIST2);

Description

In TEXT/TEXTLIST TEXT1/TEXTLIST1, all specified group names are replaced by their members. Unknown group names are retained, and the resulting list is returned as the @Function result. TEXTLIST TEXTLIST2 additionally returns the groups that could be replaced.

HINWEIS:NOTE:
The address books of the server on which the APIEngine is running are referenced.

Example: @ExpandGroups(TEXT1;TEXTLIST2)

TEXT1:="Administrators";
@ExpandGroups(TEXT1;TEXTLIST2);

returns, for example, "Otto Meier":"Jürgen Huber"

TEXTLIST2 then contains, for example, "Administrators @DOMAIN" as normal TEXT because it consists of only one element.

Example: @ExpandGroups(TEXTLIST1;TEXTLIST2)

TEXTLIST1:="Administrators":"Developers":"Unsinn";
@ExpandGroups(TEXTLIST1;TEXTLIST2);

returns, for example, "Otto Meier":"Jürgen Huber":"Richard Müller":"Unsinn"

TEXTLIST2 then contains, for example, "Administrators @DOMAIN": "Developers @DOMAIN", if the group "Unsinn", does not exist as assumed.

Note : This text was machine-translated and may contain inaccuracies.