BookmarkFile.setGroups

void setGroups(string uri, string[] groups = null)

Sets a list of group names for the item with URI uri. Each previously set group name list is removed.

If uri cannot be found then an item for it is created.

Parameters

urian item's URI
groupsan array of group names, or null to remove all groups