GroupExists

From Catglobe Wiki
Revision as of 08:28, 27 December 2011 by Cg huyphong (talk | contribs)
Jump to: navigation, search



groupExists

Returns true if a group by that id exists, false if no group by that id exists.

Syntax

groupExists(groupId)

Arguments

groupId: a numeric expression. It is the group’s id.

Return type

bool

Example

number groupId = 1;

bool b = groupExists(groupId);

print(b);

Availability

Version 5.2

groupExists (alternative 1)

Returns true if a group by that name exists, false if no group by that name exists.

Syntax

groupExists(groupName)

Arguments

groupName: a string expression. It is the group’s qualified name.

Return type

bool

Example

bool b = groupExists("Personal folders\\Pham Ngoc Son\\Son test group");

print(b);

Availability

Version 5.2